using DS.Module.Core.Data;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Check.Entity
{
///
/// 客户对账表
///
[SqlSugar.SugarTable("check_bill", "客户对账表")]
public class CheckBill : BaseModel
{
///
/// 对账编号 可以根据规则生成
///
[SqlSugar.SugarColumn(ColumnDescription = "对账编号", IsNullable = true, Length = 30)]
public string BillNo { get; set; }
///
/// 对账单名称
///
[SqlSugar.SugarColumn(ColumnDescription = "对账单名称", IsNullable = true, Length = 50)]
public string BillName { get; set; }
///
/// 对账日期
///
[SqlSugar.SugarColumn(ColumnDescription = "对账日期", IsNullable = true)]
public DateTime? CheckDate { get; set; } = DateTime.Now;
///
/// 收付类型(收、付)0 全部 1应收 2 应付
///
[SugarColumn(ColumnDescription = "收付类型(收、付)", IsNullable = false, DefaultValue = "0")]
public int BillType { get; set; }
///
/// 对账客户Id
///
[SqlSugar.SugarColumn(ColumnDescription = "对账客户Id", IsNullable = false, DefaultValue = "0")]
public long CustomerId { get; set; }
///
/// 对账客户名称 t_info_client CUSTNAME
///
[SqlSugar.SugarColumn(ColumnDescription = "对账客户名称", IsNullable = true, Length = 50)]
public string CustomerName { get; set; }
///
/// 对账模板Id
///
[SqlSugar.SugarColumn(ColumnDescription = "对账模板Id", IsNullable = false, DefaultValue = "0")]
public long CheckBillTemplateId { get; set; }
/////
///// RMB应收
/////
//[SugarColumn(ColumnDescription = "RMB应收", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
//public decimal? RMBDR { get; set; } = 0;
/////
///// RMB应付
/////
//[SugarColumn(ColumnDescription = "RMB应付", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
//public decimal? RMBCR { get; set; } = 0;
/////
///// USD应收
/////
//[SugarColumn(ColumnDescription = "USD应收", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
//public decimal? USDDR { get; set; } = 0;
/////
///// USD应付
/////
//[SugarColumn(ColumnDescription = "USD应付", IsNullable = true, Length = 18, DecimalDigits = 2, DefaultValue = "0")]
//public decimal? USDCR { get; set; } = 0;
///
/// Desc:账单状态 是否锁定
///
[SugarColumn(ColumnDescription = "账单状态 是否锁定", DefaultValue = "0")]
public bool? IsLocking { get; set; } = false;
///
/// Desc:是否不含税
///
[SugarColumn(ColumnDescription = "是否不含税", DefaultValue = "0")]
public bool? IsNoTax { get; set; } = false;
}
}