using System; using System.Collections.Generic; using System.Linq; using System.Web; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsWl_Port { [JsonObject]//日期与车辆加油总表 public class FuelTruckListmb : ModelObjectBillBody { private string _TRUCKNO = string.Empty; private string _DRVCODE = string.Empty; private string _FuelType = string.Empty; private string _FuelQty = string.Empty; private string _beginDate = string.Empty; private string _endDate = string.Empty; private string _Amount = string.Empty; public string TRUCKNO { get { return _TRUCKNO; } set { _TRUCKNO = value; } } public string DRVCODE { get { return _DRVCODE; } set { _DRVCODE = value; } } public string FuelType { get { return _FuelType; } set { _FuelType = value; } } public string FuelQty { get { return _FuelQty; } set { _FuelQty = value; } } public string begindate { get { return _beginDate; } set { _beginDate = value; } } public string enddate { get { return _endDate; } set { _endDate = value; } } public string Amount { get { return _Amount; } set { _Amount = value; } } public FuelTruckListmb() { TableName = ""; } } [JsonObject]//日期与车辆加油明细 public class FuelDatemb : ModelObjectBillBody { private string _GID = string.Empty; private string _TRUCKNO = string.Empty; private string _DRVCODE = string.Empty; private string _DRVNAME = string.Empty; private string _FuelType = string.Empty; private string _FuelQty = string.Empty; private string _FuelDate = string.Empty; private string _inserted = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string TRUCKNO { get { return _TRUCKNO; } set { _TRUCKNO = value; } } [ModelDB] public string DRVCODE { get { return _DRVCODE; } set { _DRVCODE = value; } } public string DRVNAME { get { return _DRVNAME; } set { _DRVNAME = value; } } [ModelDB] public string FuelType { get { return _FuelType; } set { _FuelType = value; } } [ModelDB] public string FuelQty { get { return _FuelQty; } set { _FuelQty = value; } } [ModelDB] public string FuelDate { get { return _FuelDate; } set { _FuelDate = value; } } public string inserted { get { return _inserted; } set { _inserted = value; } } public FuelDatemb() { TableName = "tMsWl_Port_FuelDate"; } override public string GetBillNoFieldName() { return "inserted"; } } [JsonObject]//日期与车辆加油明细_附加于车辆信息(可能无必要) public class FuelDate_Truckmb : FuelDatemb { override public string GetBillNoFieldName() { return "TRUCKNO"; } } [JsonObject]//日期与燃油价格明细 public class FuelPricemb : ModelObjectBillBody { private string _GID = string.Empty; private string _Fueldate = string.Empty; private string _FuelType = string.Empty; private string _price = string.Empty; private string _COMPANYID = string.Empty; private string _COMPANYNAME = string.Empty; private string _inserted = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string FuelDate { get { return _Fueldate; } set { _Fueldate = value; } } [ModelDB] public string FuelType { get { return _FuelType; } set { _FuelType = value; } } [ModelDB] public string Price { get { return _price; } set { _price = value; } } [ModelDB] public string COMPANYID { get { return _COMPANYID; } set { _COMPANYID = value; } } [ModelDB] public string COMPANYNAME { get { return _COMPANYNAME; } set { _COMPANYNAME = value; } } public string inserted { get { return _inserted; } set { _inserted = value; } } public FuelPricemb() { TableName = "tMsWl_Port_FuelPrice"; } override public string GetBillNoFieldName() { return "inserted"; } } [JsonObject]//爱德林 导入加油记录用表格 public class MsWl_FuelDateInputmb : ModelObjectBillBody { private string _GID = string.Empty; private string _STATION = string.Empty; private string _BLSH = string.Empty; private string _ZH = string.Empty; private string _KLX = string.Empty; private string _CKR = string.Empty; private string _CH = string.Empty; private string _JH = string.Empty; private string _YP = string.Empty; private string _FUEL = string.Empty; private string _PRICE = string.Empty; private string _AMOUNT = string.Empty; private string _YHED = string.Empty; private string _SS = string.Empty; private string _YE = string.Empty; private string _YY = string.Empty; private string _DEPT = string.Empty; private string _JYTIME = string.Empty; private string _inserted = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string STATION { get { return _STATION; } set { _STATION = value; } } [ModelDB] public string BLSH { get { return _BLSH; } set { _BLSH = value; } } [ModelDB] public string ZH { get { return _ZH; } set { _ZH = value; } } [ModelDB] public string KLX { get { return _KLX; } set { _KLX = value; } } [ModelDB] public string CKR { get { return _CKR; } set { _CKR = value; } } [ModelDB] public string CH { get { return _CH; } set { _CH = value; } } [ModelDB] public string JH { get { return _JH; } set { _JH = value; } } [ModelDB] public string YP { get { return _YP; } set { _YP = value; } } [ModelDB] public string FUEL { get { return _FUEL; } set { _FUEL = value; } } [ModelDB] public string PRICE { get { return _PRICE; } set { _PRICE = value; } } [ModelDB] public string AMOUNT { get { return _AMOUNT; } set { _AMOUNT = value; } } [ModelDB] public string YHED { get { return _YHED; } set { _YHED = value; } } [ModelDB] public string SS { get { return _SS; } set { _SS = value; } } [ModelDB] public string YE { get { return _YE; } set { _YE = value; } } [ModelDB] public string YY { get { return _YY; } set { _YY = value; } } [ModelDB] public string DEPT { get { return _DEPT; } set { _DEPT = value; } } [ModelDB] public string JYTIME { get { return _JYTIME; } set { _JYTIME = value; } } public string inserted { get { return _inserted; } set { _inserted = value; } } public MsWl_FuelDateInputmb ( ) { TableName = "tMsWl_FuelDateInput"; } override public string GetBillNoFieldName ( ) { return "inserted"; } } [JsonObject]//爱德林 导入加油记录用表格 public class MsWl_ADLFuelmb : ModelObjectBillHead { private string _GID = string.Empty; private string _TRUCKNO = string.Empty; private string _DRVCODE = string.Empty; private string _DRVNAME = string.Empty; private string _EXPDATE_BGN = string.Empty; private string _EXPDATE_END = string.Empty; private string _REALFUEL = string.Empty; private string _FUELPRICE = string.Empty; private string _FUELPRICE_AGIO = string.Empty; private string _AMOUNT = string.Empty; private string _REMARK = string.Empty; private string _RATEDFUEL = string.Empty; private string _OVERLOADMIL = string.Empty; private string _FUELRATE = string.Empty; private string _SAVEAMOUNT = string.Empty; private decimal _TimeMark = 0; private string _RatedFuelAmount = string.Empty; private string _FuelRemain = string.Empty; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string TRUCKNO { get { return _TRUCKNO; } set { _TRUCKNO = value; } } [ModelDB] public string DRVCODE { get { return _DRVCODE; } set { _DRVCODE = value; } } public string DRVNAME { get { return _DRVNAME; } set { _DRVNAME = value; } } [ModelDB] public string EXPDATE_BGN { get { return _EXPDATE_BGN; } set { _EXPDATE_BGN = value; } } [ModelDB] public string EXPDATE_END { get { return _EXPDATE_END; } set { _EXPDATE_END = value; } } [ModelDB] public string REALFUEL { get { return _REALFUEL; } set { _REALFUEL = value; } } [ModelDB] public string FUELPRICE { get { return _FUELPRICE; } set { _FUELPRICE = value; } } [ModelDB] public string FUELPRICE_AGIO { get { return _FUELPRICE_AGIO; } set { _FUELPRICE_AGIO = value; } } [ModelDB] public string AMOUNT { get { return _AMOUNT; } set { _AMOUNT = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } public string RATEDFUEL { get { return _RATEDFUEL; } set { _RATEDFUEL = value; } } public string OVERLOADMIL { get { return _OVERLOADMIL; } set { _OVERLOADMIL = value; } } public string FUELRATE { get { return _FUELRATE; } set { _FUELRATE = value; } } public decimal TimeMark { get { return _TimeMark; } set { _TimeMark = value; } } public string SAVEAMOUNT { get { return _SAVEAMOUNT; } set { _SAVEAMOUNT = value; } } public string RatedFuelAmount { get { return _RatedFuelAmount; } set { _RatedFuelAmount = value; } } public string FuelRemain { get { return _FuelRemain; } set { _FuelRemain = value; } } public MsWl_ADLFuelmb ( ) { TableName = "tMsWl_ADLFuel"; } override public string GetBillNoFieldName ( ) { return "GID"; } } }