You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.9 KiB
C#

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