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.

108 lines
3.2 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Info.Entity;
/// <summary>
/// 往来单位-账期信息
/// </summary>
[SugarTable("info_client_account_date", "往来单位-账期信息")]
public class InfoClientAccountDate : BaseModelV2<long>
{
/// <summary>
/// 往来单位id
/// </summary>
public long ClientId { get; set; }
/// <summary>
/// Desc:业务来源Id
/// </summary>
9 months ago
[SugarColumn(ColumnDescription = "业务来源Id", IsNullable = true)]
public long SourceId { get; set; }
/// <summary>
/// Desc:合同生效日期
/// </summary>
9 months ago
[SugarColumn(ColumnDescription = "合同生效日期", IsNullable = true)]
public DateTime? BeginDate { 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 BusinessType { get; set; }
/// <summary>
/// Desc:揽货人Id
/// </summary>
9 months ago
[SugarColumn(ColumnDescription = "揽货人Id", IsNullable = true)]
public long SaleId { get; set; }
/// <summary>
/// Desc:账期类型
/// </summary>
[SugarColumn(ColumnDescription = "账期类型", Length = 20, IsNullable = true)]
public string AccountType { get; set; }
/// <summary>
/// Desc:账期起算日
/// </summary>
[SugarColumn(ColumnDescription = "账期起算日", Length = 20, IsNullable = true)]
public string AccountStartDate { get; set; }
/// <summary>
/// Desc:间隔月份
/// </summary>
[SugarColumn(ColumnDescription = "间隔月份", IsNullable = true)]
public byte? AccountMonth { get; set; }
/// <summary>
/// Desc:账期日期
/// </summary>
9 months ago
[SugarColumn(ColumnDescription = "账期日期", IsNullable = true)]
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", IsNullable = true)]
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;
/// <summary>
/// 特批放单客户
/// </summary>
[SugarColumn(ColumnDescription = "特批放单客户", IsNullable = false, DefaultValue = "0")]
public bool IsSpecial { get; set; }
/// <summary>
/// 机构Id
/// </summary>
[SugarColumn(ColumnDescription = "机构Id")]
public long OrgId { get; set; }
}