|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpLetter
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpLetterTruck : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _LE_ID ="";//编号
|
|
|
|
|
private string _TRUCK = "";//业务编号
|
|
|
|
|
private string _CTNS = "";
|
|
|
|
|
private string _BSNO = "";
|
|
|
|
|
private string _YARD = "";
|
|
|
|
|
private string _YARDATTN = "";
|
|
|
|
|
private string _YARDTEL = "";
|
|
|
|
|
private string _INPUTTIME = "";
|
|
|
|
|
private string _FACTRYNAME = "";
|
|
|
|
|
private string _FACTRYTIME = "";
|
|
|
|
|
private string _FACTRYATTN = "";
|
|
|
|
|
private string _FACTRYTEL = "";
|
|
|
|
|
private string _FACTRYADDR = "";
|
|
|
|
|
private string _RETURNYARD = "";
|
|
|
|
|
private string _RETURNATTN = "";
|
|
|
|
|
private string _RETURNTEL = "";
|
|
|
|
|
private string _TRUCKDATE = "";
|
|
|
|
|
private string _TRUCKFEE ="";
|
|
|
|
|
private string _OTHERFEE = "0";
|
|
|
|
|
private string _PAYTYPE = "";
|
|
|
|
|
private string _REMARK = "";
|
|
|
|
|
private string _TRUCKDETAIL = "";
|
|
|
|
|
private string _CLOSINGDATE = "";
|
|
|
|
|
private string _TEAMTYPE = "";
|
|
|
|
|
private string _ISTEAMSTATUS = "";
|
|
|
|
|
private string _INPUTBY = "";
|
|
|
|
|
private string _TRUCKSTATUS= "待派车";
|
|
|
|
|
private string _CARGODATE = "";
|
|
|
|
|
private string _KGS = "";
|
|
|
|
|
private string _RETRUNYARDTIME = "";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string LE_ID { get { return _LE_ID; } set { _LE_ID = value; } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TRUCK { get { return _TRUCK; } set { _TRUCK = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
|
|
|
|
|
|
|
|
|
|
/// 业务状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTNS { get { return _CTNS; } set { _CTNS = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YARD { get { return _YARD; } set { _YARD = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YARDATTN { get { return _YARDATTN; } set { _YARDATTN = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YARDTEL { get { return _YARDTEL; } set { _YARDTEL = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INPUTTIME { get { return _INPUTTIME; } set { _INPUTTIME = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYNAME { get { return _FACTRYNAME; } set { _FACTRYNAME = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYTIME { get { return _FACTRYTIME; } set { _FACTRYTIME = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYATTN { get { return _FACTRYATTN; } set { _FACTRYATTN = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYTEL { get { return _FACTRYTEL; } set { _FACTRYTEL = value; } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYADDR { get { return _FACTRYADDR; } set { _FACTRYADDR = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string RETURNYARD { get { return _RETURNYARD; } set { _RETURNYARD = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string RETURNATTN { get { return _RETURNATTN; } set { _RETURNATTN = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string RETRUNYARDTIME { get { return _RETRUNYARDTIME; } set { _RETRUNYARDTIME = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string RETURNTEL { get { return _RETURNTEL; } set { _RETURNTEL = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TRUCKDATE { get { return _TRUCKDATE; } set { _TRUCKDATE = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TRUCKFEE { get { return _TRUCKFEE; } set { _TRUCKFEE = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OTHERFEE { get { return _OTHERFEE; } set { _OTHERFEE = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PAYTYPE { get { return _PAYTYPE; } set { _PAYTYPE = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TRUCKDETAIL { get { return _TRUCKDETAIL; } set { _TRUCKDETAIL = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CLOSINGDATE { get { return _CLOSINGDATE; } set { _CLOSINGDATE = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEAMTYPE { get { return _TEAMTYPE; } set { _TEAMTYPE = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ISTEAMSTATUS { get { return _ISTEAMSTATUS; } set { _ISTEAMSTATUS = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TRUCKSTATUS { get { return _TRUCKSTATUS; } set { _TRUCKSTATUS = value; } }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CARGODATE { get { return _CARGODATE; } set { _CARGODATE = value; } }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string KGS { get { return _KGS; } set { _KGS = value; } }
|
|
|
|
|
|
|
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ISFEE { get; set; }
|
|
|
|
|
|
|
|
|
|
public string DDOP { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpLetterTruck()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_letter_truck";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "BsNo";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpLetterTruckCtn : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
|
|
|
|
|
private string _ctn_id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string CTN_ID
|
|
|
|
|
{
|
|
|
|
|
get { return _ctn_id; }
|
|
|
|
|
set { _ctn_id = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _le_id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LE_ID
|
|
|
|
|
{
|
|
|
|
|
get { return _le_id; }
|
|
|
|
|
set { _le_id = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _ctnnum = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal CTNNUM
|
|
|
|
|
{
|
|
|
|
|
get { return _ctnnum; }
|
|
|
|
|
set { _ctnnum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _ctnall = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表现形式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTNALL
|
|
|
|
|
{
|
|
|
|
|
get { return _ctnall; }
|
|
|
|
|
set { _ctnall = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _kgs = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal KGS
|
|
|
|
|
{
|
|
|
|
|
get { return _kgs; }
|
|
|
|
|
set { _kgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int FENCTNNUM
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
public decimal FENKGS
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SEALNO { get; set; }
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpLetterTruckCtn()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_ctn";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpLetterTruckDetail : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
|
|
|
|
|
private string _ctn_id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _ctn_id; }
|
|
|
|
|
set { _ctn_id = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _le_id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string LE_ID
|
|
|
|
|
{
|
|
|
|
|
get { return _le_id; }
|
|
|
|
|
set { _le_id = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _ctnall = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表现形式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _ctnall; }
|
|
|
|
|
set { _ctnall = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYATTN { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYTEL { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYADDR { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FACTRYNAME { get; set; }
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpLetterTruckDetail()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_ctn";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 陆运费
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class CostModel
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
public string FeeName { get; set; }
|
|
|
|
|
public float FeeValue { get; set; }
|
|
|
|
|
public string FeeType { get; set; }
|
|
|
|
|
public string CustomerName { get; set; }
|
|
|
|
|
|
|
|
|
|
public string CustomerType { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|