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/MsWlPcHead/MsWlPcHead.cs

556 lines
13 KiB
C#

2 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.TruckMng.Models.MsWlPc
{
[JsonObject]
public class MsWlPcHead : 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 _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;
private string _containerType = String.Empty;
private string _containerType_Ref = String.Empty;
private decimal _containerQty = 0;
private string _voyVeg = String.Empty;
private string _voyVeg_Ref = String.Empty;
private string _etDate = String.Empty;
private string _endPortDate = String.Empty;
private string _mblNo = String.Empty;
private string _yardCode = String.Empty;
private string _yardCode_Ref = String.Empty;
private string _yardName = String.Empty;
private string _rtnYardCode = String.Empty;
private string _rtnYardCode_Ref = String.Empty;
private string _rtnYardName = String.Empty;
private decimal _fuelQty = 0;
private string _oilLrDate = String.Empty;
private string _oilUser = String.Empty;
private string _oilUser_Ref = String.Empty;
private string _FeeStatus = String.Empty;
private string _YouLiaoType = String.Empty;
private float _UnitPrice = 0.00f;
[ModelDB]
public float UnitPrice
{
get { return _UnitPrice; }
set { _UnitPrice = value; }
}
private float _Amount = 0.00f;
[ModelDB]
public float Amount
{
get { return _Amount; }
set { _Amount = value; }
}
#endregion
#region Public Properties
public string YouLiaoType
{
get { return _YouLiaoType; }
set { _YouLiaoType = value; }
}
[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;}
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
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;}
}
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;}
}
public string ContainerType
{
get {return _containerType;}
set {_containerType=value;}
}
public string ContainerType_Ref
{
get {return _containerType_Ref;}
set {_containerType_Ref=value;}
}
public decimal ContainerQty
{
get {return _containerQty;}
set {_containerQty=value;}
}
public string VoyVeg
{
get {return _voyVeg;}
set {_voyVeg=value;}
}
public string VoyVeg_Ref
{
get {return _voyVeg_Ref;}
set {_voyVeg_Ref=value;}
}
public string EtDate
{
get {return _etDate;}
set {_etDate=value;}
}
public string EndPortDate
{
get {return _endPortDate;}
set {_endPortDate=value;}
}
public string MblNo
{
get {return _mblNo;}
set {_mblNo=value;}
}
public string YardCode
{
get {return _yardCode;}
set {_yardCode=value;}
}
public string YardCode_Ref
{
get {return _yardCode_Ref;}
set {_yardCode_Ref=value;}
}
public string YardName
{
get {return _yardName;}
set {_yardName=value;}
}
public string RtnYardCode
{
get {return _rtnYardCode;}
set {_rtnYardCode=value;}
}
public string RtnYardCode_Ref
{
get {return _rtnYardCode_Ref;}
set {_rtnYardCode_Ref=value;}
}
public string RtnYardName
{
get {return _rtnYardName;}
set {_rtnYardName=value;}
}
[ModelDB(MDBType = ModelDBOprationType.Edit)]
public decimal FuelQty
{
get {return _fuelQty;}
set {_fuelQty=value;}
}
[ModelDB]
public string OilLrDate
{
get { return _oilLrDate; }
set { _oilLrDate = value; }
}
[ModelDB]
public string OilUser
{
get { return _oilUser; }
set { _oilUser = value; }
}
public string OilUser_Ref
{
get { return _oilUser_Ref; }
set { _oilUser_Ref = value; }
}
public string FeeStatus
{
get { return _FeeStatus; }
set { _FeeStatus = value; }
}
#endregion
public MsWlPcHead()
{
TableName = "tMsWlPcHead";
}
}
/*
[JsonObject]
public class PCGID : ModelObjectBase
{
#region private Fields
private string _GID = String.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
#endregion
public PCGID()
{
TableName = "";
}
}
*/
[JsonObject]//交运海尔 导入的月度汇总
public class MsWl_HaierMain : ModelObjectBillHead
{
#region private Fields
private string _GID = string.Empty;
private string _ACCDATE = string.Empty;
private string _TruckNo = string.Empty;
private string _DrvCode = string.Empty;
private string _DrvName = string.Empty;
private string _TotalMil = string.Empty;
private string _FuelPrice = string.Empty;
private string _FuelAmount = string.Empty;
private string _XXF = string.Empty;
private string _EBF = string.Empty;
private string _DZXF = string.Empty;
private string _LTSH = string.Empty;
private string _LQF = string.Empty;
private string _LTKF = string.Empty;
private string _RGF = string.Empty;
private string _YLS = string.Empty;
private string _LCJL = string.Empty;
private string _Amount_1 = string.Empty;
private string _Tax = string.Empty;
private string _ZFJL = string.Empty;
private string _ZCGL = string.Empty;
private string _YXCB = string.Empty;
private string _YSSR = string.Empty;
private string _CLBX = string.Empty;
private string _CLZJ = string.Empty;
private string _Amount_2 = string.Empty;
private string _CLJL = string.Empty;
private string _CLSJ = string.Empty;
private string _AQKH = string.Empty;
private string _Amount_3 = string.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string ACCDATE
{
get { return _ACCDATE; }
set { _ACCDATE = 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 TotalMil
{
get { return _TotalMil; }
set { _TotalMil = value; }
}
[ModelDB]
public string FuelPrice
{
get { return _FuelPrice; }
set { _FuelPrice = value; }
}
[ModelDB]
public string FuelAmount
{
get { return _FuelAmount; }
set { _FuelAmount = value; }
}
[ModelDB]
public string XXF
{
get { return _XXF; }
set { _XXF = value; }
}
[ModelDB]
public string EBF
{
get { return _EBF; }
set { _EBF = value; }
}
[ModelDB]
public string DZXF
{
get { return _DZXF; }
set { _DZXF = value; }
}
[ModelDB]
public string LTSH
{
get { return _LTSH; }
set { _LTSH = value; }
}
[ModelDB]
public string LQF
{
get { return _LQF; }
set { _LQF = value; }
}
[ModelDB]
public string LTKF
{
get { return _LTKF; }
set { _LTKF = value; }
}
[ModelDB]
public string RGF
{
get { return _RGF; }
set { _RGF = value; }
}
[ModelDB]
public string YLS
{
get { return _YLS; }
set { _YLS = value; }
}
[ModelDB]
public string LCJL
{
get { return _LCJL; }
set { _LCJL = value; }
}
[ModelDB]
public string Amount_1
{
get { return _Amount_1; }
set { _Amount_1 = value; }
}
[ModelDB]
public string Tax
{
get { return _Tax; }
set { _Tax = value; }
}
[ModelDB]
public string ZFJL
{
get { return _ZFJL; }
set { _ZFJL = value; }
}
[ModelDB]
public string ZCGL
{
get { return _ZCGL; }
set { _ZCGL = value; }
}
[ModelDB]
public string YXCB
{
get { return _YXCB; }
set { _YXCB = value; }
}
[ModelDB]
public string YSSR
{
get { return _YSSR; }
set { _YSSR = value; }
}
[ModelDB]
public string CLBX
{
get { return _CLBX; }
set { _CLBX = value; }
}
[ModelDB]
public string CLZJ
{
get { return _CLZJ; }
set { _CLZJ = value; }
}
[ModelDB]
public string Amount_2
{
get { return _Amount_2; }
set { _Amount_2 = value; }
}
[ModelDB]
public string CLJL
{
get { return _CLJL; }
set { _CLJL = value; }
}
[ModelDB]
public string CLSJ
{
get { return _CLSJ; }
set { _CLSJ = value; }
}
[ModelDB]
public string AQKH
{
get { return _AQKH; }
set { _AQKH = value; }
}
[ModelDB]
public string Amount_3
{
get { return _Amount_3; }
set { _Amount_3 = value; }
}
#endregion
public MsWl_HaierMain()
{
TableName = "tmswl_HaierMain";
}
public override string GetTimeMarkFieldName()
{
return "";
}
}
#region 参照部分
public class MsWlTruckRef
{
public string TruckNo { get; set; }
public string DrvCode { get; set; }
public string Mobile { get; set; }
}
public class MsWlDriverRef
{
public string DrvCode { get; set; }
public string DrvName { get; set; }
public string CodeAndName { get; set; }
public string Mobile { get; set; }
}
#endregion
}