using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Entities.Groups
{
///
/// 团组增减款项表
/// --其他款项
///
[SugarTable("Grp_DecreasePayments")]
public class Grp_DecreasePayments: EntityBase
{
///
/// 团组外键编号
///
[SugarColumn(IsNullable =true,ColumnDataType ="int")]
public int DiId { 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; }
///
/// 费用名称
///
[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(10,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; }
}
}