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