using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Info.Entity;
///
/// 往来单位-合同信息
///
[SugarTable("info_client_contract", "往来单位-合同信息")]
public class InfoClientContract : BaseModelV2
{
///
/// 往来单位id
///
public long ClientId { get; set; }
///
/// Desc:合同号
///
[SugarColumn(ColumnDescription = "合同号", Length = 100)]
public string ContractNo { get; set; }
///
/// Desc:签订日期
///
[SugarColumn(ColumnDescription = "签订日期", IsNullable = true)]
public DateTime SignDate { get; set; }
///
/// Desc:起始日期
///
[SugarColumn(ColumnDescription = "起始日期", IsNullable = true)]
public DateTime StartDate { get; set; }
///
/// Desc:截止日期
///
[SugarColumn(ColumnDescription = "截止日期", IsNullable = true)]
public DateTime EndDate { get; set; }
///
/// Desc:负责人
///
[SugarColumn(ColumnDescription = "负责人", Length = 20, IsNullable = true)]
public string Chief { get; set; }
///
/// Desc:签订部门Id
///
[SugarColumn(ColumnDescription = "签订部门Id", IsNullable = true)]
public long DeptId { get; set; }
///
/// Desc:合同名称
///
[SugarColumn(ColumnDescription = "合同名称", Length = 100, IsNullable = true)]
public string ContractName { get; set; }
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
///
/// 机构Id
///
[SugarColumn(ColumnDescription = "机构Id")]
public long OrgId { get; set; }
}