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 _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 = "";
#endregion
#region 读写属性
///
/// 编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string LE_ID { get { return _LE_ID; } set { _LE_ID = value; } }
///
/// 业务编号
///
[ModelDB]
public string TRUCK { get { return _TRUCK; } set { _TRUCK = value; } }
[ModelDB]
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
/// 业务状态
///
[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 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 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(MDBType = ModelDBOprationType.Insert)]
public string TRUCKSTATUS { get { return _TRUCKSTATUS; } set { _TRUCKSTATUS = value; } }
[ModelDB]
public string CARGODATE { get { return _CARGODATE; } set { _CARGODATE = value; } }
#endregion
public MsOpLetterTruck()
{
TableName = "op_letter_truck";
}
override public string GetBillNoFieldName()
{
return "BsNo";
}
}
#region 参照部分
#endregion
}