using System; using System.Data; namespace DSWeb.Models { public class InvoiceEntity { private string _gid;//主键惟一值 private string _invoice_no;//发票号码 private string _bill_no;//申请编号 private string _customer_name;//客户名称 private string _invoice_cust_name;//发票抬头 private DateTime _invoice_make_time;//开票日期 private string _bank;//开出银行 private string _account;//银行账户 private string _bsno;//委托编号 private string _vessel_voyage;//船名航次 private DateTime _etd;//开船日期 private string _pol;//起运港 private string _pod;//目的港 private string _fee_item;//费用内容 private string _amount_list;//金额列表 private decimal _amount;//金额 private string _amount_capital;//金额大写 private string _currency;//币别 private string _remark;//备注 private string _applicant;//申请人 private DateTime _apply_time;//申请时间 private string _operator;//开出人 private string _license_code;//工商登记号 private string _tax_code;//税务登记号 private int _invoice_type;//发票类别 1-申请发票 2-自由发票 private bool _is_delete;//是否被废除 private string _delete_operator;//废除操作人 private DateTime _delete_time;//废除时间 private bool _is_need_print;//是否打印 private bool _is_need_fee;//是否收费 private string _mblno;//提单号 private decimal _exchange_rate;//折算汇率 private string _print_caption;//打印大写 private decimal _print_amount;//打印总金额 private string _print_title;//打印抬头 private decimal _rate;//折算汇率 private string _company_id;//分公司GID public InvoiceEntity() { } /// /// 主键惟一值 /// public string GID { get { return _gid; } set { _gid = value; } } /// /// 发票号码 /// public string InvoiceNO { get { return _invoice_no; } set { _invoice_no = value; } } /// /// 申请编号 /// public string BillNO { get { return _bill_no; } set { _bill_no = value; } } /// /// 客户名称 /// public string CustomerName { get { return _customer_name; } set { _customer_name = value;} } /// /// 发票抬头 /// public string InvoiceCustName { get { return _invoice_cust_name; } set { _invoice_cust_name = value; } } /// /// 开票日期 /// public DateTime InvoiceMakeTime { get { return _invoice_make_time; } set { _invoice_make_time = value; } } /// /// 开出银行 /// public string Bank { get { return _bank; } set { _bank = value; } } /// /// 银行账户 /// public string Account { get { return _account; } set { _account = value; } } /// /// 委托编号 /// public string BSNO { get { return _bsno; } set { _bsno = value; } } /// /// 船名航次 /// public string VesselVoyage { get { return _vessel_voyage; } set { _vessel_voyage = value; } } /// /// 开船日期 /// public DateTime ETD { get { return _etd; } set { _etd = value; } } /// /// 起运港 /// public string POL { get { return _pol; } set { _pol = value; } } /// /// 目的港 /// public string POD { get { return _pod; } set { _pod = value; } } /// /// 费用内容 /// public string FeeItem { get { return _fee_item; } set { _fee_item = value; } } /// /// 金额列表 /// public string AmountList { get { return _amount_list; } set { _amount_list = value; } } /// /// 金额 /// public decimal Amount { get { return _amount; } set { _amount = value; } } /// /// 金额大写 /// public string AmountCapital { get { return _amount_capital; } set { _amount_capital = value; } } /// /// 币别 /// public string Currency { get { return _currency; } set { _currency = value; } } /// /// 备注 /// public string Remark { get { return _remark; } set { _remark = value; } } /// /// 申请人 /// public string Applicant { get { return _applicant; } set { _applicant = value; } } /// /// 申请时间 /// public DateTime ApplyTime { get { return _apply_time; } set { _apply_time = value; } } /// /// 开出人 /// public string Operator { get { return _operator; } set { _operator = value; } } /// /// 工商登记号 /// public string LicenseCode { get { return _license_code; } set { _license_code = value; } } /// /// 税务登记号 /// public string TaxCode { get { return _tax_code; } set { _tax_code = value; } } /// /// 发票类别 1-申请发票 2-自由发票 /// public int InvoiceType { get { return _invoice_type; } set { _invoice_type = value; } } /// /// 是否被废除 /// public bool IsDelete { get { return _is_delete; } set { _is_delete = value; } } /// /// 废除操作人 /// public string DeleteOperator { get { return _delete_operator; } set { _delete_operator = value; } } /// /// 废除时间 /// public DateTime DeleteTime { get { return _delete_time; } set { _delete_time = value; } } /// /// 是否打印 /// public bool IsNeedPrint { get { return _is_need_print; } set { _is_need_print = value; } } /// /// 是否收费 /// public bool IsNeedFee { get { return _is_need_fee; } set { _is_need_fee = value; } } /// /// 题单号 /// public string MBLNO { get { return _mblno; } set { _mblno = value; } } /// /// 折算汇率 /// public decimal ExchangeRate { get { return _exchange_rate; } set { _exchange_rate = value; } } /// /// 打印金额大写 /// public string PrintCaptial { get { return _print_caption; } set { _print_caption = value; } } /// /// 打印总金额 /// public decimal PrintAmount { get { return _print_amount; } set { _print_amount = value; } } /// /// 打印标题 /// public string PrintTitle { get { return _print_title; } set { _print_title = value; } } /// /// 折算汇率 /// public decimal Rate { get { return _rate; } set { _rate = value; } } /// /// 分公司GID /// public string CompanyID { get { return _company_id; } set { _company_id = value; } } } }