|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.Account.Models.Chfee_Invoiceapplication
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class ChInvoiceDetail : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
|
|
|
|
|
private string _gid = String.Empty;//主键唯一值
|
|
|
|
|
private string _pid = String.Empty;//主键唯一值
|
|
|
|
|
private decimal _serialNo = 0;
|
|
|
|
|
private string _goodsname = String.Empty;
|
|
|
|
|
private string _goodsnameref = String.Empty;
|
|
|
|
|
private string _spec = String.Empty;
|
|
|
|
|
private string _unit = String.Empty;
|
|
|
|
|
private decimal _taxprice = 0;
|
|
|
|
|
private decimal _pkgs = 0;
|
|
|
|
|
private decimal _price = 0;
|
|
|
|
|
private decimal _amount = 0;
|
|
|
|
|
private decimal _taxrate = 0;
|
|
|
|
|
private decimal _tax = 0;
|
|
|
|
|
private string _remark = String.Empty;
|
|
|
|
|
private string _goodcode = String.Empty;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PID
|
|
|
|
|
{
|
|
|
|
|
get { return _pid; }
|
|
|
|
|
set { _pid = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal SERIALNO
|
|
|
|
|
{
|
|
|
|
|
get { return _serialNo; }
|
|
|
|
|
set { _serialNo = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string GOODSNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsname; }
|
|
|
|
|
set { _goodsname = value; }
|
|
|
|
|
}
|
|
|
|
|
public string GOODSNAMEREF
|
|
|
|
|
{
|
|
|
|
|
get { return _goodsnameref; }
|
|
|
|
|
set { _goodsnameref = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SPEC
|
|
|
|
|
{
|
|
|
|
|
get { return _spec; }
|
|
|
|
|
set { _spec = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string UNIT
|
|
|
|
|
{
|
|
|
|
|
get { return _unit; }
|
|
|
|
|
set { _unit = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal PKGS
|
|
|
|
|
{
|
|
|
|
|
get { return _pkgs; }
|
|
|
|
|
set { _pkgs = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal TAXPRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _taxprice; }
|
|
|
|
|
set { _taxprice = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal PRICE
|
|
|
|
|
{
|
|
|
|
|
get { return _price; }
|
|
|
|
|
set { _price = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal TAXRATE
|
|
|
|
|
{
|
|
|
|
|
get { return _taxrate; }
|
|
|
|
|
set { _taxrate = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMOUNT
|
|
|
|
|
{
|
|
|
|
|
get { return _amount; }
|
|
|
|
|
set { _amount = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal TAX
|
|
|
|
|
{
|
|
|
|
|
get { return _tax; }
|
|
|
|
|
set { _tax = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string GOODCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _goodcode; }
|
|
|
|
|
set { _goodcode = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public ChInvoiceDetail()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ch_fee_invoicedetail";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|