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/MsWlBulkPc/MsWlBulkPound.cs

266 lines
7.2 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlBulkPc
{
[JsonObject]
public class MsWlBulkPound : ModelObjectBillBody
{
#region private Fields
private string _billNo = "*";
private decimal _serialNo = 0;
private string _bulkBillNo = 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 _payCustCode = String.Empty;
private string _payCustCode_Ref = String.Empty;
private string _payCustName = String.Empty;
private decimal _transPrice = 0;
private string _clsName = String.Empty;
private string _packSpec = String.Empty;
private string _departureDate = String.Empty;
private string _departureTime = 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 _weight = 0;
private decimal _transTotal = 0;
private string _truckNo = String.Empty;
private string _drvName = String.Empty;
private string _workTime = String.Empty;
private decimal _unloadcount = 0;
private decimal _ratedfuel = 0;
private decimal _tonmil = 0;
private decimal _heapweight = 0;
private decimal _onemil = 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 BulkBillNo
{
get { return _bulkBillNo; }
set { _bulkBillNo = 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]
public string PayCustCode
{
get { return _payCustCode; }
set { _payCustCode = value; }
}
public string PayCustCode_Ref
{
get { return _payCustCode_Ref; }
set { _payCustCode_Ref = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string PayCustName
{
get { return _payCustName; }
set { _payCustName = value; }
}
[ModelDB]
public decimal TransPrice
{
get { return _transPrice; }
set { _transPrice = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string ClsName
{
get { return _clsName; }
set { _clsName = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string PackSpec
{
get { return _packSpec; }
set { _packSpec = value; }
}
[ModelDB]
public string DepartureDate
{
get { return _departureDate; }
set { _departureDate = value; }
}
[ModelDB]
public string DepartureTime
{
get { return _departureTime; }
set { _departureTime = 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 Weight
{
get { return _weight; }
set { _weight = value; }
}
[ModelDB]
public decimal TransTotal
{
get { return _transTotal; }
set { _transTotal = value; }
}
[ModelDB]
public string TruckNo
{
get { return _truckNo; }
set { _truckNo = value; }
}
[ModelDB]
public string DrvName
{
get { return _drvName; }
set { _drvName = value; }
}
[ModelDB]
public string WorkTime
{
get { return _workTime; }
set { _workTime = value; }
}
[ModelDB]
public decimal UnLoadCount
{
get { return _unloadcount; }
set { _unloadcount = value; }
}
[ModelDB]
public decimal RatedFuel
{
get { return _ratedfuel; }
set { _ratedfuel = value; }
}
[ModelDB]
public decimal TonMil
{
get { return _tonmil; }
set { _tonmil = value; }
}
[ModelDB]
public decimal HeapWeight
{
get { return _heapweight; }
set { _heapweight = value; }
}
[ModelDB]
public decimal OneMil
{
get { return _onemil; }
set { _onemil = value; }
}
#endregion
public MsWlBulkPound()
{
TableName = "tMsWlBulkPound";
}
}
#region 参照部分
public class MsWlBulkPoundRefMsWlBulkHead
{
public string BillNo { get; set; }
}
#endregion
}