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/TruckMng/Models/MsKfJh/MsKfJhBody.cs

134 lines
3.2 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsKfJh
{
[JsonObject]
public class MsKfJhBody : ModelObjectBillBody
{
#region private Fields
private string _billNo = "*";
private decimal _serialNo = 0;
private string _pluCode = String.Empty;
private string _pluCode_Ref = String.Empty;
private string _pluName = String.Empty;
private string _spec = String.Empty;
private string _unit = String.Empty;
private decimal _price = 0;
private decimal _jhCount = 0;
private decimal _jhTotal = 0;
private string _remark = String.Empty;
private string _pcNo = String.Empty;
private string _tyreType = "0";
private string _tyreType_Ref = "0";
private decimal _realMil = 0;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BillNo
{
get { return _billNo; }
set { _billNo = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public decimal SerialNo
{
get { return _serialNo; }
set { _serialNo = value; }
}
[ModelDB]
public string PluCode
{
get { return _pluCode; }
set { _pluCode = value; }
}
public string PluCode_Ref
{
get { return _pluCode_Ref; }
set { _pluCode_Ref = value; }
}
[ModelDB]
public string PluName
{
get { return _pluName; }
set { _pluName = value; }
}
[ModelDB]
public string Spec
{
get { return _spec; }
set { _spec = value; }
}
[ModelDB]
public string Unit
{
get { return _unit; }
set { _unit = value; }
}
[ModelDB]
public decimal Price
{
get { return _price; }
set { _price = value; }
}
[ModelDB]
public decimal JhCount
{
get { return _jhCount; }
set { _jhCount = value; }
}
[ModelDB]
public decimal JhTotal
{
get { return _jhTotal; }
set { _jhTotal = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB]
public string PcNo
{
get { return _pcNo; }
set { _pcNo = value; }
}
[ModelDB]
public string TyreType
{
get { return _tyreType; }
set { _tyreType = value; }
}
public string TyreType_Ref
{
get { return _tyreType_Ref; }
set { _tyreType_Ref = value; }
}
[ModelDB]
public decimal RealMil
{
get { return _realMil; }
set { _realMil = value; }
}
#endregion
public MsKfJhBody()
{
TableName = "tMsKfJhBody";
}
}
#region 参照部分
#endregion
}