using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Info.Entity; /// /// 往来单位-联系人信息 /// [SugarTable("info_client_contact", "往来单位-联系人信息")] public class InfoClientContact : BaseModelV2 { /// /// 往来单位id /// public long ClientId { get; set; } /// /// 姓名 /// [SugarColumn(ColumnDescription = "姓名", Length = 20)] public string Name { get; set; } /// /// 英文名 /// [SugarColumn(ColumnDescription = "英文名", Length = 50, IsNullable = true)] public string? EnName { get; set; } /// /// Desc:职务 /// [SugarColumn(ColumnDescription = "职务", Length = 500, IsNullable = true)] public string? Job { get; set; } /// /// Desc:通讯地址 /// [SugarColumn(ColumnDescription = "通讯地址", Length = 100, IsNullable = true)] public string? Address { get; set; } /// /// Desc:邮箱 /// [SugarColumn(ColumnDescription = "邮箱", Length = 50, IsNullable = true)] public string? Email { get; set; } /// /// Desc:手机 /// [SugarColumn(ColumnDescription = "手机", Length = 50, IsNullable = true)] public string? Mobile { get; set; } /// /// Desc:电话 /// [SugarColumn(ColumnDescription = "电话", Length = 50, IsNullable = true)] public string? Tel { get; set; } /// /// Desc:传真 /// [SugarColumn(ColumnDescription = "传真", Length = 50, IsNullable = true)] public string? Fax { get; set; } /// /// Desc:QQ /// [SugarColumn(ColumnDescription = "QQ", Length = 50, IsNullable = true)] public string? QQ { get; set; } /// /// Desc:是否为操作 /// [SugarColumn(ColumnDescription = "是否为操作", DefaultValue = "0")] public bool IsOperator { get; set; } /// /// Desc:是否为财务 /// [SugarColumn(ColumnDescription = "是否为财务", DefaultValue = "0")] public bool IsFinancialStaff { get; set; } /// /// Desc:是否为销售 /// [SugarColumn(ColumnDescription = "是否为销售", DefaultValue = "0")] public bool IsSaleMan { get; set; } /// /// Desc:是否为其他 /// [SugarColumn(ColumnDescription = "是否为其他", DefaultValue = "0")] public bool IsOther { get; set; } /// /// Desc:是否保险联系人 /// [SugarColumn(ColumnDescription = "是否保险联系人", DefaultValue = "0")] public bool IsInsurance { get; set; } /// /// Desc:是否对账联系人 /// [SugarColumn(ColumnDescription = "是否对账联系人", DefaultValue = "0")] public bool IsCheckAccount { get; set; } /// /// 提醒日期1 /// [SugarColumn(ColumnDescription = "提醒日期1", IsNullable = true)] public DateTime? Anniversary1 { get; set; } /// /// 提醒日期2 /// [SugarColumn(ColumnDescription = "提醒日期2", IsNullable = true)] public DateTime? Anniversary2 { get; set; } /// /// 提醒备注1 /// [SugarColumn(ColumnDescription = "提醒备注1", Length = 200, IsNullable = true)] public string? AnniversaryNote1 { get; set; } /// /// 提醒备注2 /// [SugarColumn(ColumnDescription = "提醒备注2", Length = 200, IsNullable = true)] public string? AnniversaryNote2 { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态", DefaultValue = "0")] public StatusEnum Status { get; set; } = StatusEnum.Enable; ///// ///// 船公司Id ///// //[SugarColumn(ColumnDescription = "船公司Id", IsNullable = true)] //public long? CarrierId { get; set; } ///// ///// 船公司 ///// //[SugarColumn(ColumnDescription = "船公司", IsNullable = true, Length = 100)] //public string? Carrier { get; set; } /// /// 机构Id /// [SugarColumn(ColumnDescription = "机构Id")] public long OrgId { get; set; } }