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/MsWlDjPc/MsWlDjPound.cs

205 lines
5.3 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlDjPc
{
[JsonObject]
public class MsWlDjPound : ModelObjectBillBody
{
#region private Fields
private string _billNo = "*";
private decimal _serialNo = 0;
private string _djBillNo = String.Empty;
private string _gId = String.Empty;
private string _custCode = String.Empty;
private string _custCode_Ref = String.Empty;
private string _custName = String.Empty;
private string _clsName = String.Empty;
private string _departureDate = String.Empty;
private string _loadPlace = String.Empty;
private string _unLoadPlace = String.Empty;
private decimal _planOverLoadMil = 0;
private decimal _planNoLoadMil = 0;
private decimal _planLoadCount = 0;
private decimal _overLoadMil = 0;
private decimal _noLoadMil = 0;
private decimal _loadCount = 0;
private decimal _pnum = 0;
private decimal _pkgs = 0;
private decimal _weight = 0;
private decimal _ratedfuel = 0;
private decimal _realfuel = 0;
private decimal _tonmil = 0;
private string _workTime = 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 DjBillNo
{
get { return _djBillNo; }
set { _djBillNo = value; }
}
[ModelDB]
public string GId
{
get { return _gId; }
set { _gId = value; }
}
[ModelDB]
public string CustCode
{
get { return _custCode; }
set { _custCode = value; }
}
public string CustCode_Ref
{
get { return _custCode_Ref; }
set { _custCode_Ref = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CustName
{
get { return _custName; }
set { _custName = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string ClsName
{
get { return _clsName; }
set { _clsName = value; }
}
[ModelDB]
public string DepartureDate
{
get { return _departureDate; }
set { _departureDate = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LoadPlace
{
get { return _loadPlace; }
set { _loadPlace = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string UnLoadPlace
{
get { return _unLoadPlace; }
set { _unLoadPlace = value; }
}
[ModelDB]
public decimal PlanOverLoadMil
{
get { return _planOverLoadMil; }
set { _planOverLoadMil = value; }
}
[ModelDB]
public decimal PlanNoLoadMil
{
get { return _planNoLoadMil; }
set { _planNoLoadMil = value; }
}
[ModelDB]
public decimal PlanLoadCount
{
get { return _planLoadCount; }
set { _planLoadCount = value; }
}
[ModelDB]
public decimal OverLoadMil
{
get { return _overLoadMil; }
set { _overLoadMil = value; }
}
[ModelDB]
public decimal NoLoadMil
{
get { return _noLoadMil; }
set { _noLoadMil = value; }
}
[ModelDB]
public decimal LoadCount
{
get { return _loadCount; }
set { _loadCount = value; }
}
[ModelDB]
public decimal PNum
{
get { return _pnum; }
set { _pnum = value; }
}
[ModelDB]
public decimal PKgs
{
get { return _pkgs; }
set { _pkgs = value; }
}
[ModelDB]
public decimal Weight
{
get { return _weight; }
set { _weight = value; }
}
[ModelDB]
public decimal RatedFuel
{
get { return _ratedfuel; }
set { _ratedfuel = value; }
}
[ModelDB]
public decimal RealFuel
{
get { return _realfuel; }
set { _realfuel = value; }
}
[ModelDB]
public decimal TonMil
{
get { return _tonmil; }
set { _tonmil = value; }
}
[ModelDB]
public string WorkTime
{
get { return _workTime; }
set { _workTime = value; }
}
#endregion
public MsWlDjPound()
{
TableName = "tMsWlDjPound";
}
}
#region 参照部分
public class MsWlDjPoundRefMsWlDjHead
{
public string BillNo { get; set; }
}
#endregion
}