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.

540 lines
14 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlBulk
{
[JsonObject]
public class MsWlBulkHead : ModelObjectBillHead
{
#region private Fields
private string _billNo = "*";
private DateTime? _lrDate = null;
private DateTime? _jzDate = null;
private DateTime? _wcDate = null;
private string _userCode = String.Empty;
private string _userName = String.Empty;
private string _orgCode = String.Empty;
private string _orgName = String.Empty;
private string _rptDate = String.Empty;
private string _ywType = "0113";
private decimal _timeMark = 0;
private string _gId = String.Empty;
private string _salesCode = String.Empty;
private string _salesCode_Ref = String.Empty;
private string _salesName = String.Empty;
private string _custCode = String.Empty;
private string _custCode_Ref = String.Empty;
private string _custName = String.Empty;
private string _custLinkman = String.Empty;
private string _detiNation = String.Empty;
private string _linkTel = String.Empty;
private string _shipper = String.Empty;
private string _consignee = String.Empty;
private string _custDate = String.Empty;
private string _departureDate = String.Empty;
private string _arrivalDate = String.Empty;
private string _clsName = String.Empty;
private string _packSpec = String.Empty;
private string _cargoLevel = String.Empty;
private string _loadItem = String.Empty;
private decimal _weight = 0;
private string _loadPlace = String.Empty;
private string _unLoadPlace = String.Empty;
private decimal _oneMil = 0;
private string _payCustCode = String.Empty;
private string _payCustCode_Ref = String.Empty;
private string _payCustName = String.Empty;
private string _payDate = String.Empty;
private string _Vessel = String.Empty;
private decimal _transPrice = 0;
private decimal _loadPrice = 0;
private string _billStatus = "0";
private string _billStatus_Ref = "0";
private decimal _realweight = 0;
private decimal _dumpprice = 0;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string BillNo
{
get { return _billNo; }
set { _billNo = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime? LrDate
{
get { return _lrDate; }
set { _lrDate = value; }
}
public DateTime? JzDate
{
get { return _jzDate; }
set { _jzDate = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime? WcDate
{
get { return _wcDate; }
set { _wcDate = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string UserCode
{
get { return _userCode; }
set { _userCode = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string UserName
{
get { return _userName; }
set { _userName = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string OrgCode
{
get { return _orgCode; }
set { _orgCode = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string OrgName
{
get { return _orgName; }
set { _orgName = value; }
}
public string RptDate
{
get { return _rptDate; }
set { _rptDate = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string YwType
{
get { return _ywType; }
set { _ywType = value; }
}
public decimal TimeMark
{
get { return _timeMark; }
set { _timeMark = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string GId
{
get { return _gId; }
set { _gId = value; }
}
[ModelDB]
public string SalesCode
{
get { return _salesCode; }
set { _salesCode = value; }
}
public string SalesCode_Ref
{
get { return _salesCode_Ref; }
set { _salesCode_Ref = value; }
}
[ModelDB]
public string SalesName
{
get { return _salesName; }
set { _salesName = value; }
}
[ModelDB]
public string CustCode
{
get { return _custCode; }
set { _custCode = value; }
}
public string CustCode_Ref
{
get { return _custCode_Ref; }
set { _custCode_Ref = value; }
}
[ModelDB]
public string CustName
{
get { return _custName; }
set { _custName = value; }
}
[ModelDB]
public string CustLinkman
{
get { return _custLinkman; }
set { _custLinkman = value; }
}
[ModelDB]
public string DetiNation
{
get { return _detiNation; }
set { _detiNation = value; }
}
[ModelDB]
public string LinkTel
{
get { return _linkTel; }
set { _linkTel = value; }
}
[ModelDB]
public string Shipper
{
get { return _shipper; }
set { _shipper = value; }
}
[ModelDB]
public string Consignee
{
get { return _consignee; }
set { _consignee = value; }
}
[ModelDB]
public string CustDate
{
get { return _custDate; }
set { _custDate = value; }
}
[ModelDB]
public string DepartureDate
{
get { return _departureDate; }
set { _departureDate = value; }
}
[ModelDB]
public string ArrivalDate
{
get { return _arrivalDate; }
set { _arrivalDate = value; }
}
[ModelDB]
public string ClsName
{
get { return _clsName; }
set { _clsName = value; }
}
[ModelDB]
public string PackSpec
{
get { return _packSpec; }
set { _packSpec = value; }
}
[ModelDB]
public string CargoLevel
{
get { return _cargoLevel; }
set { _cargoLevel = value; }
}
[ModelDB]
public string LoadItem
{
get { return _loadItem; }
set { _loadItem = value; }
}
[ModelDB]
public string Vessel
{
get { return _Vessel; }
set { _Vessel = value; }
}
[ModelDB]
public decimal Weight
{
get { return _weight; }
set { _weight = value; }
}
[ModelDB]
public string LoadPlace
{
get { return _loadPlace; }
set { _loadPlace = value; }
}
[ModelDB]
public string UnLoadPlace
{
get { return _unLoadPlace; }
set { _unLoadPlace = value; }
}
[ModelDB]
public decimal OneMil
{
get { return _oneMil; }
set { _oneMil = value; }
}
[ModelDB]
public string PayCustCode
{
get { return _payCustCode; }
set { _payCustCode = value; }
}
public string PayCustCode_Ref
{
get { return _payCustCode_Ref; }
set { _payCustCode_Ref = value; }
}
[ModelDB]
public string PayCustName
{
get { return _payCustName; }
set { _payCustName = value; }
}
[ModelDB]
public string PayDate
{
get { return _payDate; }
set { _payDate = value; }
}
[ModelDB]
public decimal TransPrice
{
get { return _transPrice; }
set { _transPrice = value; }
}
[ModelDB]
public decimal LoadPrice
{
get { return _loadPrice; }
set { _loadPrice = value; }
}
[ModelDB]
public string BillStatus
{
get { return _billStatus; }
set { _billStatus = value; }
}
public string BillStatus_Ref
{
get { return _billStatus_Ref; }
set { _billStatus_Ref = value; }
}
[ModelDB]
public decimal RealWeight
{
get { return _realweight; }
set { _realweight = value; }
}
public decimal DumpPrice
{
get { return _dumpprice; }
set { _dumpprice = value; }
}
#endregion
public MsWlBulkHead()
{
TableName = "tMsWlBulkHead";
GId = Guid.NewGuid().ToString("N").ToUpper();
}
}
[JsonObject]
public class MsWlBulkPoundView : ModelObjectBillBody
{
#region private Fields
private string _billNo = "*";
private decimal _serialNo = 0;
private string _gId = 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;
private decimal _realtransPrice = 0;
private decimal _realtransTotal = 0;
#endregion
#region Public Properties
public string BillNo
{
get { return _billNo; }
set { _billNo = value; }
}
public decimal SerialNo
{
get { return _serialNo; }
set { _serialNo = value; }
}
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GId
{
get { return _gId; }
set { _gId = value; }
}
public decimal TransPrice
{
get { return _transPrice; }
set { _transPrice = value; }
}
public string ClsName
{
get { return _clsName; }
set { _clsName = value; }
}
public string PackSpec
{
get { return _packSpec; }
set { _packSpec = value; }
}
public string DepartureDate
{
get { return _departureDate; }
set { _departureDate = value; }
}
public string DepartureTime
{
get { return _departureTime; }
set { _departureTime = value; }
}
public string LoadPlace
{
get { return _loadPlace; }
set { _loadPlace = value; }
}
public string UnLoadPlace
{
get { return _unLoadPlace; }
set { _unLoadPlace = value; }
}
public decimal PlanOverLoadMil
{
get { return _planOverLoadMil; }
set { _planOverLoadMil = value; }
}
public decimal PlanNoLoadMil
{
get { return _planNoLoadMil; }
set { _planNoLoadMil = value; }
}
public decimal PlanLoadCount
{
get { return _planLoadCount; }
set { _planLoadCount = value; }
}
public decimal OverLoadMil
{
get { return _overLoadMil; }
set { _overLoadMil = value; }
}
public decimal NoLoadMil
{
get { return _noLoadMil; }
set { _noLoadMil = value; }
}
public decimal LoadCount
{
get { return _loadCount; }
set { _loadCount = value; }
}
public decimal Weight
{
get { return _weight; }
set { _weight = value; }
}
public decimal TransTotal
{
get { return _transTotal; }
set { _transTotal = value; }
}
public string TruckNo
{
get { return _truckNo; }
set { _truckNo = value; }
}
public string DrvName
{
get { return _drvName; }
set { _drvName = value; }
}
public string WorkTime
{
get { return _workTime; }
set { _workTime = value; }
}
public decimal UnLoadCount
{
get { return _unloadcount; }
set { _unloadcount = value; }
}
public decimal RatedFuel
{
get { return _ratedfuel; }
set { _ratedfuel = value; }
}
public decimal TonMil
{
get { return _tonmil; }
set { _tonmil = value; }
}
public decimal HeapWeight
{
get { return _heapweight; }
set { _heapweight = value; }
}
public decimal OneMil
{
get { return _onemil; }
set { _onemil = value; }
}
[ModelDB]
public decimal RealTransPrice
{
get { return _realtransPrice; }
set { _realtransPrice = value; }
}
[ModelDB]
public decimal RealTransTotal
{
get { return _realtransTotal; }
set { _realtransTotal = value; }
}
#endregion
public MsWlBulkPoundView()
{
TableName = "tMsWlBulkPound";
}
}
#region 参照部分
#endregion
}