|
|
|
@ -16,137 +16,136 @@ public class InfoClientContact : BaseModelV2<long>
|
|
|
|
|
public long ClientId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:联系人代码
|
|
|
|
|
/// 姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "联系人代码", Length = 6)]
|
|
|
|
|
public string CodeName { get; set; }
|
|
|
|
|
[SugarColumn(ColumnDescription = "姓名", Length = 20)]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:联系人简称
|
|
|
|
|
/// 英文名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "联系人简称", Length = 20)]
|
|
|
|
|
public string ShortName { get; set; }
|
|
|
|
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "英文名", Length = 50, IsNullable = true)]
|
|
|
|
|
public string? EnName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:职务
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "职务", Length = 50, IsNullable = true)]
|
|
|
|
|
public string Job { get; set; }
|
|
|
|
|
[SugarColumn(ColumnDescription = "职务", Length = 500, IsNullable = true)]
|
|
|
|
|
public string? Job { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:通讯地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "通讯地址", Length = 100, IsNullable = true)]
|
|
|
|
|
public string Address { get; set; }
|
|
|
|
|
public string? Address { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "邮箱", Length = 50, IsNullable = true)]
|
|
|
|
|
public string Email { get; set; }
|
|
|
|
|
public string? Email { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:手机
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "手机", Length = 50, IsNullable = true)]
|
|
|
|
|
public string Mobile { get; set; }
|
|
|
|
|
public string? Mobile { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "电话", Length = 50, IsNullable = true)]
|
|
|
|
|
public string Tel { get; set; }
|
|
|
|
|
public string? Tel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:传真
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "传真", Length = 50, IsNullable = true)]
|
|
|
|
|
public string Fax { get; set; }
|
|
|
|
|
public string? Fax { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:QQ
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "QQ", Length = 50, IsNullable = true)]
|
|
|
|
|
public string QQ { get; set; }
|
|
|
|
|
public string? QQ { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否为操作
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为操作",DefaultValue = "0")]
|
|
|
|
|
public bool? IsOperator { get; set; } = false;
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为操作", DefaultValue = "0")]
|
|
|
|
|
public bool IsOperator { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否为财务
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为财务",DefaultValue = "0")]
|
|
|
|
|
public bool? IsFinancialStaff { get; set; } = false;
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为财务", DefaultValue = "0")]
|
|
|
|
|
public bool IsFinancialStaff { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否为销售
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为销售",DefaultValue = "0")]
|
|
|
|
|
public bool? IsSaleMan { get; set; } = false;
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为销售", DefaultValue = "0")]
|
|
|
|
|
public bool IsSaleMan { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否为其他
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为其他",DefaultValue = "0")]
|
|
|
|
|
public bool? IsOther { get; set; } = false;
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否为其他", DefaultValue = "0")]
|
|
|
|
|
public bool IsOther { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否保险联系人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否保险联系人",DefaultValue = "0")]
|
|
|
|
|
public bool? IsInsurance { get; set; } = false;
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否保险联系人", DefaultValue = "0")]
|
|
|
|
|
public bool IsInsurance { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:是否对账联系人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否对账联系人",DefaultValue = "0")]
|
|
|
|
|
public bool? IsCheckAccount { get; set; } = false;
|
|
|
|
|
[SugarColumn(ColumnDescription = "是否对账联系人", DefaultValue = "0")]
|
|
|
|
|
public bool IsCheckAccount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提醒日期1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "提醒日期1", IsNullable = true)]
|
|
|
|
|
public DateTime Anniversary1 { get; set; }
|
|
|
|
|
public DateTime? Anniversary1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提醒日期2
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "提醒日期2", IsNullable = true)]
|
|
|
|
|
public DateTime Anniversary2 { get; set; }
|
|
|
|
|
public DateTime? Anniversary2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提醒备注1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "提醒备注1", Length = 200, IsNullable = true)]
|
|
|
|
|
public string AnniversaryNote1 { get; set; }
|
|
|
|
|
public string? AnniversaryNote1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提醒备注2
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "提醒备注2", Length = 200, IsNullable = true)]
|
|
|
|
|
public string AnniversaryNote2 { get; set; }
|
|
|
|
|
|
|
|
|
|
public string? AnniversaryNote2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态 0启用 1禁用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
|
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
|
|
|
|
|
public StatusEnum Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 船公司Id
|
|
|
|
|
///// </summary>
|
|
|
|
|
//[SugarColumn(ColumnDescription = "船公司Id", IsNullable = true)]
|
|
|
|
|
//public long? CarrierId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "船公司Id", IsNullable = true, DefaultValue = "0")]
|
|
|
|
|
public long CarrierId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnDescription = "船公司", IsNullable = true, Length = 100)]
|
|
|
|
|
public string Carrier { get; set; }
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 船公司
|
|
|
|
|
///// </summary>
|
|
|
|
|
//[SugarColumn(ColumnDescription = "船公司", IsNullable = true, Length = 100)]
|
|
|
|
|
//public string? Carrier { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 机构Id
|
|
|
|
|