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.

88 lines
3.4 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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