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.

529 lines
13 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlDj
{
[JsonObject]
public class MsWlDjHead : ModelObjectBillHead
{
#region private Fields
private string _billNo = "*";
private DateTime? _lrDate = null;
private DateTime? _jzDate = null;
private string _userCode = String.Empty;
private string _userName = String.Empty;
private string _orgCode = String.Empty;
private string _orgName = String.Empty;
private string _ywType = "0117";
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 _custDate = String.Empty;
private string _needloadDate = String.Empty;
private string _needarriveDate = String.Empty;
private string _clsName = String.Empty;
private decimal _pnum = 0;
private decimal _pkgs = 0;
private decimal _weight = 0;
private decimal _length = 0;
private decimal _height = 0;
private decimal _wide = 0;
private decimal _insuretotal = 0;
private string _sedarea = String.Empty;
private string _sednation = String.Empty;
private string _dstarea = String.Empty;
private string _detnation = String.Empty;
private string _billStatus = "0";
private string _billStatus_Ref = "0";
private string _feeStatus = "0";
private string _feeStatus_Ref = "0";
private string _feeOpStatus = "0";
private string _feeOpStatus_Ref = "未提交";
private string _remark = String.Empty;
private decimal _oneMil = 0;
private decimal _overpnum = 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 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; }
}
[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 CustDate
{
get { return _custDate; }
set { _custDate = value; }
}
[ModelDB]
public string NeedLoadDate
{
get { return _needloadDate; }
set { _needloadDate = value; }
}
[ModelDB]
public string NeedArriveDate
{
get { return _needarriveDate; }
set { _needarriveDate = value; }
}
[ModelDB]
public string ClsName
{
get { return _clsName; }
set { _clsName = 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 Length
{
get { return _length; }
set { _length = value; }
}
[ModelDB]
public decimal Wide
{
get { return _wide; }
set { _wide = value; }
}
[ModelDB]
public decimal Height
{
get { return _height; }
set { _height = value; }
}
[ModelDB]
public decimal InsureTotal
{
get { return _insuretotal; }
set { _insuretotal = value; }
}
[ModelDB]
public string SedArea
{
get { return _sedarea; }
set { _sedarea = value; }
}
[ModelDB]
public string SedNation
{
get { return _sednation; }
set { _sednation = value; }
}
[ModelDB]
public string DstArea
{
get { return _dstarea; }
set { _dstarea = value; }
}
[ModelDB]
public string DetNation
{
get { return _detnation; }
set { _detnation = value; }
}
[ModelDB]
public string Remark
{
get { return _remark; }
set { _remark = value; }
}
[ModelDB]
public string BillStatus
{
get { return _billStatus; }
set { _billStatus = value; }
}
public string BillStatus_Ref
{
get { return _billStatus_Ref; }
set { _billStatus_Ref = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string FeeStatus
{
get { return _feeStatus; }
set { _feeStatus = value; }
}
public string FeeStatus_Ref
{
get { return _feeStatus_Ref; }
set { _feeStatus_Ref = value; }
}
public string FeeOpStatus
{
get { return _feeOpStatus; }
set { _feeOpStatus = value; }
}
public string FeeOpStatus_Ref
{
get { return _feeOpStatus_Ref; }
set { _feeOpStatus_Ref = value; }
}
[ModelDB]
public decimal OneMil
{
get { return _oneMil; }
set { _oneMil = value; }
}
public decimal OverPNum
{
get { return _overpnum; }
set { _overpnum = value; }
}
#endregion
public MsWlDjHead()
{
TableName = "tMsWlDjHead";
GId = Guid.NewGuid().ToString("N").ToUpper();
}
}
[JsonObject]
public class MsWlDjPoundView : 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;
private string _truckNo = String.Empty;
private string _truckNo_Ref = String.Empty;
private string _drvCode = String.Empty;
private string _drvName = String.Empty;
private string _drvName_Ref = String.Empty;
private string _mobile = String.Empty;
private string _expDate = String.Empty;
#endregion
#region Public Properties
public string BillNo
{
get { return _billNo; }
set { _billNo = value; }
}
public decimal SerialNo
{
get { return _serialNo; }
set { _serialNo = value; }
}
public string DjBillNo
{
get { return _djBillNo; }
set { _djBillNo = value; }
}
public string GId
{
get { return _gId; }
set { _gId = value; }
}
public string CustCode
{
get { return _custCode; }
set { _custCode = value; }
}
public string CustCode_Ref
{
get { return _custCode_Ref; }
set { _custCode_Ref = value; }
}
public string CustName
{
get { return _custName; }
set { _custName = value; }
}
public string ClsName
{
get { return _clsName; }
set { _clsName = value; }
}
public string DepartureDate
{
get { return _departureDate; }
set { _departureDate = 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 PNum
{
get { return _pnum; }
set { _pnum = value; }
}
public decimal PKgs
{
get { return _pkgs; }
set { _pkgs = value; }
}
public decimal Weight
{
get { return _weight; }
set { _weight = value; }
}
public decimal RatedFuel
{
get { return _ratedfuel; }
set { _ratedfuel = value; }
}
public decimal RealFuel
{
get { return _realfuel; }
set { _realfuel = value; }
}
public decimal TonMil
{
get { return _tonmil; }
set { _tonmil = value; }
}
public string WorkTime
{
get { return _workTime; }
set { _workTime = value; }
}
public string TruckNo
{
get {return _truckNo;}
set {_truckNo=value;}
}
public string TruckNo_Ref
{
get {return _truckNo_Ref;}
set {_truckNo_Ref=value;}
}
public string DrvCode
{
get { return _drvCode; }
set { _drvCode = value; }
}
public string DrvName
{
get {return _drvName;}
set {_drvName=value;}
}
public string DrvName_Ref
{
get {return _drvName_Ref;}
set {_drvName_Ref=value;}
}
public string Mobile
{
get {return _mobile;}
set {_mobile=value;}
}
public string ExpDate
{
get {return _expDate;}
set {_expDate=value;}
}
#endregion
}
#region 参照部分
#endregion
}