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.

112 lines
2.6 KiB
C#

using System;
using HcUtility.Core;
namespace DSWeb.Areas.TruckMng.Models.KfCg
{
public class KfCgBody : ModelObjectBillBody
{
#region private Fields
private string _billNo = String.Empty;
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 _cgCount = 0;
private decimal _cgTotal = 0;
private decimal _sdCount = 0;
private string _remark = String.Empty;
#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 CgCount
{
get { return _cgCount; }
set { _cgCount = value; }
}
[ModelDB]
public decimal CgTotal
{
get { return _cgTotal; }
set { _cgTotal = value; }
}
[ModelDB]
public decimal SdCount
{
get { return _sdCount; }
set { _sdCount = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
#endregion
public KfCgBody()
{
TableName = "tKfCgBody";
}
}
#region 参照部分
#endregion
}