|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCwVouchersGlInvoiceHeXiaoEntity
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsCwVouchersGlInvoiceHeXiaoEntity : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _billno = "*";//主键唯一值
|
|
|
|
|
private string _billstatus = "新建";//
|
|
|
|
|
private string _customername;//
|
|
|
|
|
private string _invoicecustname;//
|
|
|
|
|
private string _invno;//
|
|
|
|
|
private string _curr = "";
|
|
|
|
|
private decimal _amount = 0;
|
|
|
|
|
private string _invdate = DateTime.Now.ToString("yyyy-MM-dd");//
|
|
|
|
|
private string _taxcode;//
|
|
|
|
|
private string _addrtel;//
|
|
|
|
|
private string _bank;//
|
|
|
|
|
private string _op;//
|
|
|
|
|
private string _opdate = DateTime.Now.ToString("yyyy-MM-dd");//
|
|
|
|
|
private string _remark;//
|
|
|
|
|
private decimal _invamount = 0;
|
|
|
|
|
private decimal _taxrate = 0;
|
|
|
|
|
private decimal _tax = 0;
|
|
|
|
|
private string _balbillno = "";//主键唯一值
|
|
|
|
|
private bool _isapp;
|
|
|
|
|
private string _VOUNO;
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string BILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _billno; }
|
|
|
|
|
set { _billno = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BILLSTATUS
|
|
|
|
|
{
|
|
|
|
|
get { return _billstatus; }
|
|
|
|
|
set { _billstatus = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CURR
|
|
|
|
|
{
|
|
|
|
|
get { return _curr; }
|
|
|
|
|
set { _curr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CUSTOMERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _customername; }
|
|
|
|
|
set { _customername = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INVOICECUSTNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _invoicecustname; }
|
|
|
|
|
set { _invoicecustname = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
|
|
|
|
|
public string INVNO
|
|
|
|
|
{
|
|
|
|
|
get { return _invno; }
|
|
|
|
|
set { _invno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _amount; }
|
|
|
|
|
set { _amount = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal INVAMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _invamount; }
|
|
|
|
|
set { _invamount = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal TAXRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _taxrate; }
|
|
|
|
|
set { _taxrate = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal TAX
|
|
|
|
|
{
|
|
|
|
|
get { return _tax; }
|
|
|
|
|
set { _tax = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INVDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _invdate; }
|
|
|
|
|
set { _invdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TAXCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _taxcode; }
|
|
|
|
|
set { _taxcode = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ADDRTEL
|
|
|
|
|
{
|
|
|
|
|
get { return _addrtel; }
|
|
|
|
|
set { _addrtel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BANK
|
|
|
|
|
{
|
|
|
|
|
get { return _bank; }
|
|
|
|
|
set { _bank = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARKS
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
public bool ISAPP
|
|
|
|
|
{
|
|
|
|
|
get { return _isapp; }
|
|
|
|
|
set { _isapp = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OP
|
|
|
|
|
{
|
|
|
|
|
get { return _op; }
|
|
|
|
|
set { _op = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OPDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _opdate; }
|
|
|
|
|
set { _opdate = value; }
|
|
|
|
|
}
|
|
|
|
|
public string BALBILLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _balbillno; }
|
|
|
|
|
set { _balbillno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总账凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VOUNO
|
|
|
|
|
{
|
|
|
|
|
get { return _VOUNO; }
|
|
|
|
|
set { _VOUNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsCwVouchersGlInvoiceHeXiaoEntity()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_invoicehexiao";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|