You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Models/InvoiceEntity.cs

347 lines
9.2 KiB
C#

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