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/Areas/MvcShipping/Models/MsCodeGoodInv/CodeGoodInv.cs

165 lines
3.7 KiB
C#

2 years ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.CodeGoodInv
{
[JsonObject]
public class CodeGoodInv : ModelObjectBillHead
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();
private string _GOODCODE = String.Empty;
private string _GOODNAME ="代理运杂费";
private string _GOODCODENAME = String.Empty;
private string _DESCRIP = String.Empty;
private decimal _TAXRATE =0;
private string _TAXNO = String.Empty;
private string _TAXCLASS = String.Empty;
private string _TAXCLASSNAME = String.Empty;
private string _SPEC = String.Empty;
private string _UNIT = String.Empty;
private string _ISTAXPRICE ="0";
private string _ISUSEPREF ="0";
private string _ISDEF = "0";
private string _ZTAXTYPE = "";
private string _DEFREMARK = "";
private string _DEFCURR = "";
#endregion
public CodeGoodInv()
{
TableName = "code_goods_inv";
}
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string GOODCODE
{
get { return _GOODCODE; }
set { _GOODCODE = value; }
}
[ModelDB]
public string GOODNAME
{
get { return _GOODNAME; }
set { _GOODNAME = value; }
}
public string GOODCODENAME
{
get { return _GOODCODENAME; }
set { _GOODCODENAME = value; }
}
[ModelDB]
public string DESCRIP
{
get { return _DESCRIP; }
set { _DESCRIP = value; }
}
[ModelDB]
public decimal TAXRATE
{
get { return _TAXRATE; }
set { _TAXRATE = value; }
}
[ModelDB]
public string TAXNO
{
get { return _TAXNO; }
set { _TAXNO = value; }
}
[ModelDB]
public string TAXCLASS
{
get { return _TAXCLASS; }
set { _TAXCLASS = value; }
}
[ModelDB]
public string TAXCLASSNAME
{
get { return _TAXCLASSNAME; }
set { _TAXCLASSNAME = value; }
}
[ModelDB]
public string SPEC
{
get { return _SPEC; }
set { _SPEC = value; }
}
[ModelDB]
public string UNIT
{
get { return _UNIT; }
set { _UNIT = value; }
}
[ModelDB]
public string ISTAXPRICE
{
get { return _ISTAXPRICE; }
set { _ISTAXPRICE = value; }
}
[ModelDB]
public string ISUSEPREF
{
get { return _ISUSEPREF; }
set { _ISUSEPREF = value; }
}
[ModelDB]
public string ISDEF
{
get { return _ISDEF; }
set { _ISDEF = value; }
}
[ModelDB]
public string ZTAXTYPE
{
get { return _ZTAXTYPE; }
set { _ZTAXTYPE = value; }
}
[ModelDB]
public string DEFREMARK
{
get { return _DEFREMARK; }
set { _DEFREMARK = value; }
}
[ModelDB]
public string DEFCURR
{
get { return _DEFCURR; }
set { _DEFCURR = value; }
}
#endregion
}
}