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.

97 lines
2.6 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Info.Entity;
/// <summary>
/// 往来单位-账期信息
/// </summary>
[SqlSugar.SugarTable("info_client_account_date")]
public class InfoClientAccountDate : BaseOrgModel<long>
{
/// <summary>
/// 往来单位id
/// </summary>
public long ClientId { get; set; }
/// <summary>
/// Desc:业务来源Id
/// </summary>
[SugarColumn(ColumnDescription = "业务来源Id")]
public long SourceId { get; set; }
/// <summary>
/// Desc:合同生效日期
/// </summary>
[SugarColumn(ColumnDescription = "合同生效日期")]
public DateTime? BeginDate { get; set; }
/// <summary>
/// Desc:合同结束日期
/// </summary>
[SugarColumn(ColumnDescription = "合同失效日期")]
public DateTime? EndDate { get; set; }
/// <summary>
/// Desc:业务类型
/// </summary>
[SugarColumn(ColumnDescription = "业务类型",Length = 20)]
public string BusinessType { get; set; }
/// <summary>
/// Desc:揽货人Id
/// </summary>
[SugarColumn(ColumnDescription = "揽货人Id")]
public long SaleId { get; set; }
/// <summary>
/// Desc:账期类型
/// </summary>
[SugarColumn(ColumnDescription = "账期类型",Length = 20)]
public string AccountType { get; set; }
/// <summary>
/// Desc:账期起算日
/// </summary>
[SugarColumn(ColumnDescription = "账期起算日",Length = 20)]
public string AccountStartDate { get; set; }
/// <summary>
/// Desc:间隔月份
/// </summary>
[SugarColumn(ColumnDescription = "间隔月份")]
public byte? AccountMonth { get; set; }
/// <summary>
/// Desc:账期日期
/// </summary>
[SugarColumn(ColumnDescription = "账期日期")]
public byte? AccountDays { get; set; }
/// <summary>
/// Desc:信用额度
/// </summary>
[SugarColumn(ColumnDescription = "信用额度", Length = 18, DecimalDigits = 2, DefaultValue = "0")]
public decimal? AllowAmount { get; set; }
/// <summary>
/// Desc:合同Id
/// </summary>
[SugarColumn(ColumnDescription = "合同Id")]
public long ContractId { get; set; }
/// <summary>
/// Desc:运杂费比例
/// </summary>
[SugarColumn(ColumnDescription = "运杂费比例", Length = 18, DecimalDigits = 2, DefaultValue = "0")]
public decimal? CommissionRate { get; set; } = 0;
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}