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.
607 lines
16 KiB
C#
607 lines
16 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.Areas.TruckMng.Models.TMSRPT
|
|
{
|
|
[JsonObject]
|
|
public class TMSRPT_MONTH : ModelObjectBillHead
|
|
{
|
|
#region private Fields
|
|
private string _GID = string.Empty;
|
|
private string _COMPANYID = string.Empty;
|
|
private string _COMPANYNAME = string.Empty;
|
|
private string _ACCDATE = string.Empty;
|
|
private string _EXPDATEBGN = string.Empty;
|
|
private string _EXPDATEEND = string.Empty;
|
|
private string _FUELPRICE = string.Empty;
|
|
private string _REMARK = string.Empty;
|
|
private string _OP = string.Empty;
|
|
private string _OPDATE = string.Empty;
|
|
private string _AUDITOR = string.Empty;
|
|
private string _AUDITTIME = string.Empty;
|
|
private string _BLSTATUS = string.Empty;
|
|
private string _BLSTATUS_REF = string.Empty;
|
|
private string _ISDELETE = string.Empty;
|
|
private string _DELETEUSER = string.Empty;
|
|
private string _DELETETIME = string.Empty;
|
|
private decimal _TimeMark = 0;
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COMPANYID
|
|
{
|
|
get { return _COMPANYID; }
|
|
set { _COMPANYID = value; }
|
|
}
|
|
public string COMPANYNAME
|
|
{
|
|
get { return _COMPANYNAME; }
|
|
set { _COMPANYNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ACCDATE
|
|
{
|
|
get { return _ACCDATE; }
|
|
set { _ACCDATE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string EXPDATEBGN
|
|
{
|
|
get { return _EXPDATEBGN; }
|
|
set { _EXPDATEBGN = value; }
|
|
}
|
|
[ModelDB]
|
|
public string EXPDATEEND
|
|
{
|
|
get { return _EXPDATEEND; }
|
|
set { _EXPDATEEND = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FUELPRICE
|
|
{
|
|
get { return _FUELPRICE; }
|
|
set { _FUELPRICE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _REMARK; }
|
|
set { _REMARK = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OP
|
|
{
|
|
get { return _OP; }
|
|
set { _OP = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OPDATE
|
|
{
|
|
get { return _OPDATE; }
|
|
set { _OPDATE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string AUDITOR
|
|
{
|
|
get { return _AUDITOR; }
|
|
set { _AUDITOR = value; }
|
|
}
|
|
[ModelDB]
|
|
public string AUDITTIME
|
|
{
|
|
get { return _AUDITTIME; }
|
|
set { _AUDITTIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string BLSTATUS
|
|
{
|
|
get { return _BLSTATUS; }
|
|
set { _BLSTATUS = value; }
|
|
}
|
|
public string BLSTATUS_REF
|
|
{
|
|
get { return _BLSTATUS_REF; }
|
|
set { _BLSTATUS_REF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ISDELETE
|
|
{
|
|
get { return _ISDELETE; }
|
|
set { _ISDELETE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string DELETEUSER
|
|
{
|
|
get { return _DELETEUSER; }
|
|
set { _DELETEUSER = value; }
|
|
}
|
|
[ModelDB]
|
|
public string DELETETIME
|
|
{
|
|
get { return _DELETETIME; }
|
|
set { _DELETETIME = value; }
|
|
}
|
|
|
|
public decimal TimeMark
|
|
{
|
|
get { return _TimeMark; }
|
|
set { _TimeMark = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public TMSRPT_MONTH ( )
|
|
{
|
|
TableName = "TMSRPT_MONTH";
|
|
}
|
|
|
|
public override string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
|
|
public override string GetTimeMarkFieldName()
|
|
{
|
|
return "TimeMark";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class TMSRPT_MONTH_TRUCKDETAIL : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
private string _GID = string.Empty;
|
|
private string _LINKGID = string.Empty;
|
|
private string _COMPANYID = string.Empty;
|
|
private string _COMPANYNAME = string.Empty;
|
|
private string _ACCDATE = string.Empty;
|
|
private string _TRUCKNO = string.Empty;
|
|
private string _LoadCount = string.Empty;
|
|
private string _TruckSpec = string.Empty;
|
|
private string _AMOUNT = string.Empty;
|
|
private string _ZJF = string.Empty;
|
|
private string _BXF = string.Empty;
|
|
private string _GZJZ = string.Empty;
|
|
private string _SBF = string.Empty;
|
|
private string _GJJ = string.Empty;
|
|
private string _FUELPRICE = string.Empty;
|
|
private string _FUELAMOUNT = string.Empty;
|
|
private string _LQF = string.Empty;
|
|
private string _REPAIRAMOUNT = string.Empty;
|
|
private string _TYREAMOUNT = string.Empty;
|
|
private string _OTHERAMOUNT = string.Empty;
|
|
private string _TAX = string.Empty;
|
|
private string _TRUCKCOST = string.Empty;
|
|
private string _TRUCKPROFIT_M = string.Empty;
|
|
private string _CARDAYS = string.Empty;
|
|
private string _WORKDAYS = string.Empty;
|
|
private string _USABLEDAYS = string.Empty;
|
|
private string _USABLERATE = string.Empty;
|
|
private string _WORKRATE = string.Empty;
|
|
private string _REPAIRDAYS = string.Empty;
|
|
private string _NOGOODDAYS = string.Empty;
|
|
private string _NODRVDAYS = string.Empty;
|
|
private string _RATEDMIL = string.Empty;
|
|
private string _OVERLOADMIL = string.Empty;
|
|
private string _TEU = string.Empty;
|
|
private string _TONS = string.Empty;
|
|
private string _MILPERDAY = string.Empty;
|
|
private string _REALFUEL = string.Empty;
|
|
private string _RATEDFUEL = string.Empty;
|
|
private string _REMAINFUEL = string.Empty;
|
|
private string _FUELAMOUNTRATE = string.Empty;
|
|
private string _OTHERPAY = string.Empty;
|
|
private string _OTHERPAYREMARK = string.Empty;
|
|
private string _REMARK = string.Empty;
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string LINKGID
|
|
{
|
|
get { return _LINKGID; }
|
|
set { _LINKGID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COMPANYID
|
|
{
|
|
get { return _COMPANYID; }
|
|
set { _COMPANYID = value; }
|
|
}
|
|
|
|
public string COMPANYNAME
|
|
{
|
|
get { return _COMPANYNAME; }
|
|
set { _COMPANYNAME = value; }
|
|
}
|
|
public string ACCDATE
|
|
{
|
|
get { return _ACCDATE; }
|
|
set { _ACCDATE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TRUCKNO
|
|
{
|
|
get { return _TRUCKNO; }
|
|
set { _TRUCKNO = value; }
|
|
}
|
|
public string LoadCount
|
|
{
|
|
get { return _LoadCount; }
|
|
set { _LoadCount = value; }
|
|
}
|
|
public string TruckSpec
|
|
{
|
|
get { return _TruckSpec; }
|
|
set { _TruckSpec = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string AMOUNT
|
|
{
|
|
get { return _AMOUNT; }
|
|
set { _AMOUNT = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ZJF
|
|
{
|
|
get { return _ZJF; }
|
|
set { _ZJF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string BXF
|
|
{
|
|
get { return _BXF; }
|
|
set { _BXF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string GZJZ
|
|
{
|
|
get { return _GZJZ; }
|
|
set { _GZJZ = value; }
|
|
}
|
|
[ModelDB]
|
|
public string SBF
|
|
{
|
|
get { return _SBF; }
|
|
set { _SBF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string GJJ
|
|
{
|
|
get { return _GJJ; }
|
|
set { _GJJ = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FUELPRICE
|
|
{
|
|
get { return _FUELPRICE; }
|
|
set { _FUELPRICE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FUELAMOUNT
|
|
{
|
|
get { return _FUELAMOUNT; }
|
|
set { _FUELAMOUNT = value; }
|
|
}
|
|
[ModelDB]
|
|
public string LQF
|
|
{
|
|
get { return _LQF; }
|
|
set { _LQF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REPAIRAMOUNT
|
|
{
|
|
get { return _REPAIRAMOUNT; }
|
|
set { _REPAIRAMOUNT = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TYREAMOUNT
|
|
{
|
|
get { return _TYREAMOUNT; }
|
|
set { _TYREAMOUNT = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OTHERAMOUNT
|
|
{
|
|
get { return _OTHERAMOUNT; }
|
|
set { _OTHERAMOUNT = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TAX
|
|
{
|
|
get { return _TAX; }
|
|
set { _TAX = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TRUCKCOST
|
|
{
|
|
get { return _TRUCKCOST; }
|
|
set { _TRUCKCOST = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TRUCKPROFIT_M
|
|
{
|
|
get { return _TRUCKPROFIT_M; }
|
|
set { _TRUCKPROFIT_M = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CARDAYS
|
|
{
|
|
get { return _CARDAYS; }
|
|
set { _CARDAYS = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKDAYS
|
|
{
|
|
get { return _WORKDAYS; }
|
|
set { _WORKDAYS = value; }
|
|
}
|
|
[ModelDB]
|
|
public string USABLEDAYS
|
|
{
|
|
get { return _USABLEDAYS; }
|
|
set { _USABLEDAYS = value; }
|
|
}
|
|
[ModelDB]
|
|
public string USABLERATE
|
|
{
|
|
get { return _USABLERATE; }
|
|
set { _USABLERATE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKRATE
|
|
{
|
|
get { return _WORKRATE; }
|
|
set { _WORKRATE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REPAIRDAYS
|
|
{
|
|
get { return _REPAIRDAYS; }
|
|
set { _REPAIRDAYS = value; }
|
|
}
|
|
[ModelDB]
|
|
public string NOGOODDAYS
|
|
{
|
|
get { return _NOGOODDAYS; }
|
|
set { _NOGOODDAYS = value; }
|
|
}
|
|
[ModelDB]
|
|
public string NODRVDAYS
|
|
{
|
|
get { return _NODRVDAYS; }
|
|
set { _NODRVDAYS = value; }
|
|
}
|
|
[ModelDB]
|
|
public string RATEDMIL
|
|
{
|
|
get { return _RATEDMIL; }
|
|
set { _RATEDMIL = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OVERLOADMIL
|
|
{
|
|
get { return _OVERLOADMIL; }
|
|
set { _OVERLOADMIL = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TEU
|
|
{
|
|
get { return _TEU; }
|
|
set { _TEU = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TONS
|
|
{
|
|
get { return _TONS; }
|
|
set { _TONS = value; }
|
|
}
|
|
[ModelDB]
|
|
public string MILPERDAY
|
|
{
|
|
get { return _MILPERDAY; }
|
|
set { _MILPERDAY = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REALFUEL
|
|
{
|
|
get { return _REALFUEL; }
|
|
set { _REALFUEL = value; }
|
|
}
|
|
[ModelDB]
|
|
public string RATEDFUEL
|
|
{
|
|
get { return _RATEDFUEL; }
|
|
set { _RATEDFUEL = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REMAINFUEL
|
|
{
|
|
get { return _REMAINFUEL; }
|
|
set { _REMAINFUEL = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FUELAMOUNTRATE
|
|
{
|
|
get { return _FUELAMOUNTRATE; }
|
|
set { _FUELAMOUNTRATE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OTHERPAY
|
|
{
|
|
get { return _OTHERPAY; }
|
|
set { _OTHERPAY = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OTHERPAYREMARK
|
|
{
|
|
get { return _OTHERPAYREMARK; }
|
|
set { _OTHERPAYREMARK = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _REMARK; }
|
|
set { _REMARK = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public TMSRPT_MONTH_TRUCKDETAIL ( )
|
|
{
|
|
TableName = "TMSRPT_MONTH_TRUCKDETAIL";
|
|
}
|
|
|
|
public override string GetBillNoFieldName ( )
|
|
{
|
|
return "LINKGID";
|
|
}
|
|
|
|
public override string GetTimeMarkFieldName ( )
|
|
{
|
|
return string.Empty;
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class TMSRPT_MONTH_COMPANYDETAIL : TMSRPT_MONTH_TRUCKDETAIL
|
|
{
|
|
#region private Fields
|
|
private string _TRUCKCOUNT = string.Empty;
|
|
private string _CTN_TEU = string.Empty;
|
|
private string _CTN_AMOUNT = string.Empty;
|
|
private string _WXP_TEU = string.Empty;
|
|
private string _WXP_AMOUNT = string.Empty;
|
|
private string _PORTCTN_TEU = string.Empty;
|
|
private string _PORTCTN_AMOUNT = string.Empty;
|
|
private string _DJ_TONS = string.Empty;
|
|
private string _DJ_AMOUNT = string.Empty;
|
|
private string _SH_TONS = string.Empty;
|
|
private string _SH_AMOUNT = string.Empty;
|
|
private string _WLTG_AMOUNT = string.Empty;
|
|
private string _DSF_AMOUNT = string.Empty;
|
|
private string _DSFDL_AMOUNT = string.Empty;
|
|
private string _OTHER_AMOUNT = string.Empty;
|
|
|
|
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
public string TRUCKCOUNT
|
|
{
|
|
get { return _TRUCKCOUNT; }
|
|
set { _TRUCKCOUNT = value; }
|
|
}
|
|
public string CTN_TEU
|
|
{
|
|
get { return _CTN_TEU; }
|
|
set { _CTN_TEU = value; }
|
|
}
|
|
public string CTN_AMOUNT
|
|
{
|
|
get { return _CTN_AMOUNT; }
|
|
set { _CTN_AMOUNT = value; }
|
|
}
|
|
public string WXP_TEU
|
|
{
|
|
get { return _WXP_TEU; }
|
|
set { _WXP_TEU = value; }
|
|
}
|
|
public string WXP_AMOUNT
|
|
{
|
|
get { return _WXP_AMOUNT; }
|
|
set { _WXP_AMOUNT = value; }
|
|
}
|
|
public string PORTCTN_TEU
|
|
{
|
|
get { return _PORTCTN_TEU; }
|
|
set { _PORTCTN_TEU = value; }
|
|
}
|
|
public string PORTCTN_AMOUNT
|
|
{
|
|
get { return _PORTCTN_AMOUNT; }
|
|
set { _PORTCTN_AMOUNT = value; }
|
|
}
|
|
public string DJ_TONS
|
|
{
|
|
get { return _DJ_TONS; }
|
|
set { _DJ_TONS = value; }
|
|
}
|
|
public string DJ_AMOUNT
|
|
{
|
|
get { return _DJ_AMOUNT; }
|
|
set { _DJ_AMOUNT = value; }
|
|
}
|
|
public string SH_TONS
|
|
{
|
|
get { return _SH_TONS; }
|
|
set { _SH_TONS = value; }
|
|
}
|
|
public string SH_AMOUNT
|
|
{
|
|
get { return _SH_AMOUNT; }
|
|
set { _SH_AMOUNT = value; }
|
|
}
|
|
public string WLTG_AMOUNT
|
|
{
|
|
get { return _WLTG_AMOUNT; }
|
|
set { _WLTG_AMOUNT = value; }
|
|
}
|
|
public string DSF_AMOUNT
|
|
{
|
|
get { return _DSF_AMOUNT; }
|
|
set { _DSF_AMOUNT = value; }
|
|
}
|
|
public string DSFDL_AMOUNT
|
|
{
|
|
get { return _DSFDL_AMOUNT; }
|
|
set { _DSFDL_AMOUNT = value; }
|
|
}
|
|
public string OTHER_AMOUNT
|
|
{
|
|
get { return _OTHER_AMOUNT; }
|
|
set { _OTHER_AMOUNT = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public TMSRPT_MONTH_COMPANYDETAIL ( )
|
|
{
|
|
TableName = "TMSRPT_MONTH_TRUCKDETAIL";
|
|
}
|
|
|
|
public override string GetBillNoFieldName ( )
|
|
{
|
|
return "LINKGID";
|
|
}
|
|
|
|
public override string GetTimeMarkFieldName ( )
|
|
{
|
|
return string.Empty;
|
|
}
|
|
}
|
|
|
|
|
|
}
|