using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Code.Entity { /// /// 订单关系人 /// [SqlSugar.SugarTable("op_code_order_contact", "订单关系人")] public class CodeOrderContact : BaseModel { /// /// 客户类别 /// [SugarColumn(ColumnDescription = "客户类别", Length = 50, IsNullable = false)] public string CustomerType { get; set; } /// /// 客户Id /// [SugarColumn(ColumnDescription = "客户Id")] public long CustomerId { get; set; } /// /// 客户名称 /// [SugarColumn(ColumnDescription = "客户名称", Length = 100, IsNullable = true)] public string CustomerName { get; set; } /// /// 角色代码 /// [SugarColumn(ColumnDescription = "角色代码", Length = 50, IsNullable = true)] public string RoleCode { get; set; } /// /// 联系人 /// [SugarColumn(ColumnDescription = "联系人", Length = 50, IsNullable = true)] public string Name { get; set; } /// /// 电话 /// [SugarColumn(ColumnDescription = "电话", Length = 50, IsNullable = true)] public string Tel { get; set; } /// /// 邮箱 /// [SugarColumn(ColumnDescription = "邮箱", Length = 50, IsNullable = true)] public string Email { get; set; } /// /// 排序 /// [SugarColumn(ColumnDescription = "排序")] public int? OrderNo { get; set; } = 100; /// /// 备注 /// [SugarColumn(ColumnDescription = "备注", Length = 200, IsNullable = true)] public string Note { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态", DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; } }