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