/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: * CreateTime: 2022/2/11 22:59:40 * Description: 暂无 ***********************************************************************/ using System; using System.ComponentModel.DataAnnotations; using SqlSugar; namespace CoreCms.Net.Model.Entities; /// /// 用户地址表 /// public partial class CoreCmsUserShip { /// /// 序列 /// [Display(Name = "序列")] [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public int id { get; set; } /// /// 用户id 关联user.id /// [Display(Name = "用户id 关联user.id")] [Required(ErrorMessage = "请输入{0}")] public int userId { get; set; } /// /// 收货地区ID /// [Display(Name = "收货地区ID")] [Required(ErrorMessage = "请输入{0}")] public int areaId { get; set; } /// /// 收货详细地址 /// [Display(Name = "收货详细地址")] [StringLength(200, ErrorMessage = "{0}不能超过{1}字")] public string address { get; set; } /// /// 收货人姓名 /// [Display(Name = "收货人姓名")] [StringLength(50, ErrorMessage = "{0}不能超过{1}字")] public string name { get; set; } /// /// 收货电话 /// [Display(Name = "收货电话")] [StringLength(50, ErrorMessage = "{0}不能超过{1}字")] public string mobile { get; set; } /// /// 是否默认 /// [Display(Name = "是否默认")] [Required(ErrorMessage = "请输入{0}")] public bool isDefault { get; set; } /// /// 创建时间 /// [Display(Name = "创建时间")] public DateTime? createTime { get; set; } /// /// 更新时间 /// [Display(Name = "更新时间")] public DateTime? updateTime { get; set; } /// /// 经度 /// [Display(Name = "经度")] [StringLength(50, ErrorMessage = "{0}不能超过{1}字")] public string longitude { get; set; } /// /// 纬度 /// [Display(Name = "纬度")] [StringLength(50, ErrorMessage = "{0}不能超过{1}字")] public string latitude { get; set; } /// /// 街道 /// [Display(Name = "街道")] [StringLength(50, ErrorMessage = "{0}不能超过{1}字")] public string street { get; set; } }