namespace OASystem.Domain.Entities.Groups; /// /// 团组增减款项表 --> 其他款项 /// [SugarTable("Grp_DecreasePayments")] public class Grp_DecreasePayments : EntityBase { /// /// 团组外键编号 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int DiId { get; set; } /// /// 主费用编号 /// 用于处理一笔费用包含多条款项的情况,第一条预付款 ID 为 1,尾款 主费用编号 为 1,第二笔费用的预付款 ID 为 2,尾款主费用编号为 2,以此类推 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int ParentId { get; set; } /// /// 供应商地区 /// 1 国内(默认) 2 国外 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int SupplierArea { get; set; } = 1; /// /// 供应商类型 /// setdata 外键Id StID = 21 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int SupplierTypeId { get; set; } /// /// 供应商名称 /// [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")] public string SupplierName { get; set; } /// /// 供应商联系人 /// [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")] public string SupplierContact { get; set; } /// /// 供应商联系电话 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")] public string SupplierContactNumber { get; set; } /// /// 供应商社交账号 /// [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")] public string SupplierSocialAccount { get; set; } /// /// 供应商邮箱 /// [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(50)")] public string SupplierEmail { get; set; } /// /// 供应商地址 /// [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(300)")] public string SupplierAddress { get; set; } #region 付款方式 2026-05-12 /// /// 付款方式 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(225)")] public string PaymentType { get; set; } /// /// 付款百分比 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")] public decimal PaymentPercent { get; set; } /// /// 实际付款金额(实际付款金额 = 费用总额 * 付款百分比) /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(18,2)")] public decimal ActualPaymentAmount { get; set; } #endregion /// /// 费用名称 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(225)")] public string PriceName { get; set; } /// /// 单价 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")] public decimal Price { get; set; } /// /// 数量 /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,2)")] public decimal Quantity { get; set; } /// /// 费用总计(应付金额) /// [SugarColumn(IsNullable = true, ColumnDataType = "decimal(18,2)")] public decimal FeeTotal { get; set; } /// /// 费用币种 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int Currency { get; set; } /// /// 附件地址 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(120)")] public string FilePath { get; set; } /// /// OTA订单号 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")] public string OTAOrderNo { get; set; } /// /// 是否为选择的费用 /// public int IsSelect { get; set; } }