using System;
using System.Data;
namespace DSWeb.Models
{
///
/// ch_fee
/// 费用信息表
///
public class FeeEntity
{
#region 私有成员
private string _gid;//主键唯一值
private string _bsno;//委托编号GID
private int _fee_type;//区别费用收、付类型,付费记录值为"1",收费记录值为"2"
private string _fee_name;//费用英文名称,只能输入英文字符
private string _fee_description;//费用中文名称或者描述信息
private string _customer_type;//客户类别
private string _customer_name;//客户名称
private string _unit;//单位标准
private decimal _unitprice;//单价
private decimal _quantity;//数量
private decimal _amount;//金额
private string _currency;//币别
private decimal _exchange_rate;//汇率值
private string _reason;//原因
private string _remark;//备注
private decimal _commission_rate;//佣金比率
private decimal _settlement;//结算金额
private decimal _invoice;//开票金额
private decimal _order_amount;//申请金额
private decimal _order_invoice;//申请开票
private DateTime _submit_date;//提交时间
private string _audit_operator;//审核人
private DateTime _audit_date;//审核时间
private string _enter_operator;//录入操作人
private DateTime _enter_date;//录入时间
private string _debitno;//对账编号
private bool _is_debit;//是否对账 默认值0表示不对账,值为1表示需要对账
private bool _is_open;//是否保密 默认值0表示公开,值为1表示保密
private bool _is_advance_pay;//是否垫付 默认值0表示不垫付,值为1表示垫付
private int _sort;//排序值 根据排序值由小到大顺序显示行动信息(0,1,2……N)
private bool _is_invoice;//是否开发票 默认值0表示不开发票,值为1表示开发票
private int _fee_status;//费用状态值 费用状态主要有10个状态,分别为审核通过(STATUS=0)录入状态(STATUS=1)提交审核(STATUS=2)申请修改 (STATUS=3)
//取消申请(STATUS=5)驳回提交(STATUS=6)驳回申请(STATUS=7)部分结算(STATUS=8)结算完毕(STATUS=9)
private string _fee_frt;//运费支付方式 分别有PP运费预付 CC运费到付
private bool _is_crm_order_fee;//是否来自订舱费用 订舱费用审核通过后,将插入到ch_fee表,此字段用于标识是否来自订舱费用 True-来自订舱费用 False-来自委托录入费用
private string _WMSOUTBSNO; //出库单的BSNO
private int _LINENUM; //出库单的BSNO
#endregion
public FeeEntity()
{
}
#region 读写属性
///
/// 主键唯一值
///
public string GID
{
get { return _gid; }
set { _gid = value; }
}
///
/// 委托编号GID
///
public string BSNO
{
get { return _bsno; }
set { _bsno = value; }
}
///
/// 区别费用收、付类型,收费记录值为"1",付费记录值为"2"
///
public int FeeType
{
get { return _fee_type; }
set { _fee_type = value; }
}
///
/// 费用英文名称,只能输入英文字符
///
public string FeeName
{
get { return _fee_name; }
set { _fee_name = value; }
}
///
/// 费用中文名称或者描述信息
///
public string FeeDescription
{
get { return _fee_description; }
set { _fee_description = value; }
}
///
/// 客户类别
///
public string CustomerType
{
get { return _customer_type; }
set { _customer_type = value; }
}
///
/// 客户名称
///
public string CustomerName
{
get { return _customer_name; }
set { _customer_name = value; }
}
///
/// 单位标准
///
public string Unit
{
get { return _unit; }
set { _unit = value; }
}
///
/// 单价
///
public decimal UnitPrice
{
get { return _unitprice; }
set { _unitprice = value; }
}
///
/// 数量
///
public decimal Quantity
{
get { return _quantity; }
set { _quantity = value; }
}
///
/// 金额
///
public decimal Amount
{
get { return _amount; }
set { _amount = value; }
}
///
/// 币别
///
public string Currency
{
get { return _currency; }
set { _currency = value; }
}
///
/// 汇率值
///
public decimal ExchangeRate
{
get { return _exchange_rate; }
set { _exchange_rate = value; }
}
///
/// 原因
///
public string Reason
{
get { return _reason; }
set { _reason = value; }
}
///
/// 备注
///
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
///
/// 佣金比率
///
public decimal CommissionRate
{
get { return _commission_rate; }
set { _commission_rate = value; }
}
///
/// 结算金额
///
public decimal Settlement
{
get { return _settlement; }
set { _settlement = value; }
}
///
/// 开票金额
///
public decimal Invoice
{
get { return _invoice; }
set { _invoice = value; }
}
///
/// 申请金额
///
public decimal OrderAmount
{
get { return _order_amount; }
set { _order_amount = value; }
}
///
/// 申请开票
///
public decimal OrderInvoice
{
get { return _order_invoice; }
set { _order_invoice = value; }
}
///
/// 提交时间
///
public DateTime SubmitDate
{
get { return _submit_date; }
set { _submit_date = value; }
}
///
/// 审核人
///
public string AuditOperator
{
get { return _audit_operator; }
set { _audit_operator = value; }
}
///
/// 审核时间
///
public DateTime AuditDate
{
get { return _audit_date; }
set { _audit_date = value; }
}
///
/// 录入操作人
///
public string EnterOperator
{
get { return _enter_operator; }
set { _enter_operator = value; }
}
///
/// 录入时间
///
public DateTime EnterDate
{
get { return _enter_date; }
set { _enter_date = value; }
}
///
/// 对账编号
///
public string DebitNO
{
get { return _debitno; }
set { _debitno = value; }
}
///
/// 是否对账 默认值0表示不对账,值为1表示需要对账
///
public bool IsDebit
{
get { return _is_debit; }
set { _is_debit = value; }
}
///
/// 是否保密 默认值0表示公开,值为1表示保密
///
public bool IsOpen
{
get { return _is_open; }
set { _is_open = value; }
}
///
/// 是否垫付 默认值0表示不垫付,值为1表示垫付
///
public bool IsAdvancePay
{
get { return _is_advance_pay; }
set { _is_advance_pay = value; }
}
///
/// 排序值 根据排序值由小到大顺序显示行动信息(0,1,2……N)
///
public int Sort
{
get { return _sort; }
set { _sort = value; }
}
///
/// 是否开发票 默认值0表示不开发票,值为1表示开发票
///
public bool IsInvoice
{
get { return _is_invoice; }
set { _is_invoice = value; }
}
///
/// 费用状态值 费用状态主要有10个状态,分别为审核通过(STATUS=0)录入状态(STATUS=1)提交审核(STATUS=2)申请修改 (STATUS=3)
/// 取消申请(STATUS=5)驳回提交(STATUS=6)驳回申请(STATUS=7)部分结算(STATUS=8)结算完毕(STATUS=9)
///
public int FeeStatus
{
get { return _fee_status; }
set { _fee_status = value; }
}
///
/// 运费支付方式 分别有PP运费预付 CC运费到付
///
public string FeeFrt
{
get { return _fee_frt; }
set { _fee_frt = value; }
}
///
/// 是否来自订舱费用 订舱费用审核通过后,将插入到ch_fee表,此字段用于标识是否来自订舱费用 True-来自订舱费用 False-来自委托录入费用
///
public bool IsFromCrmOrderFee
{
get { return _is_crm_order_fee; }
set { _is_crm_order_fee = value; }
}
///
/// 出库单的BSNO
///
public string WMSOUTBSNO
{
get { return _WMSOUTBSNO; }
set { _WMSOUTBSNO = value; }
}
///
/// 单个Grid的行号
///
public int LINENUM
{
get { return _LINENUM; }
set { _LINENUM = value; }
}
#endregion
}
}