using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Entities.Financial { /// /// 财务 - 对外收款账单 应收 /// 雷怡 2023-08-14 16:20 /// [SugarTable("Fin_ForeignReceivables")] public class Fin_ForeignReceivables:EntityBase { /// /// 团组Id /// [SugarColumn(IsNullable = true,ColumnDataType = "int")] public int Diid { get; set; } /// /// 费用名称 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(MAX)")] public string? PriceName { get; set; } /// /// 费用 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")] public decimal Price { get; set; } /// /// 数量 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int Count { get; set; } /// /// 单位 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")] public string? Unit { get; set; } /// /// 单项总和 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")] public decimal ItemSumPrice { get; set; } /// /// 付款方 弃用 数据保留 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(225)")] public string? To { get; set; } /// /// 付款方电话 弃用 数据保留 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")] public string? ToTel { get; set; } /// /// 付款日期 弃用 数据保留 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")] public string? PayDate { get; set; } /// /// 付款注意事项 弃用 数据保留 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")] public string? Attention { get; set; } /// /// 汇率 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")] public decimal Rate { get; set; } /// /// 币种 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int Currency { get; set; } /// /// 添加方式 /// 0 - 账单模块 1 - 成本预算模块 2 - 分摊费用 3 - 其他费用 /// 0 - 账单模块 1 - 成本预算模块 2 - 实际报价 3 - 超支费用 /// TODO:增加费用类型 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int AddingWay { get; set; } /// /// 审核状态 AddingWay==2该项有值 /// 0 - 未审核 1 - 审核通过 2 - 审核不通过 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int Status { get; set; } = 0; /// /// 审核人 AddingWay==2该项有值 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int Auditor { get; set; } = 0; /// /// 审核时间 AddingWay==2该项有值 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")] public string AuditTime { get; set; } } }