using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; using HcUtility.Core; namespace DSWeb.Areas.MvcShipping.Models.MsCodeVesselSetModel { [JsonObject] public class code_voynoModel : ModelObjectBillHead { #region private string _void= "newid"; private string _vsid; private string _voyno; private string _portload; private string _portdischarge; private string _portloadref; private string _portdischargeref; private string _etd; private string _closingdate; private string _eta; private string _corpid; private string _yardid; private string _entreport; private string _entreportref; private string _vessel; private string _atd; private string _closedocdate; /// /// /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string VOID { set{ _void=value;} get{return _void;} } /// /// [ModelDB] public string VSID { set{ _vsid=value;} get{return _vsid;} } //[ModelDB] public string DM_ID { get; set; } /// /// 航次 [ModelDB] public string VOYNO { set{ _voyno=value;} get{return _voyno;} } /// /// 装货港 [ModelDB] public string PORTLOAD { set{ _portload=value;} get{return _portload;} } public string PORTLOADREF { set { _portloadref = value; } get { return _portloadref; } } /// /// 卸货港 [ModelDB] public string PORTDISCHARGE { set{ _portdischarge=value;} get{return _portdischarge;} } public string PORTDISCHARGEREF { set { _portdischargeref = value; } get { return _portdischargeref; } } /// /// 开船日期 [ModelDB] public string ETD { set{ _etd=value;} get{return _etd;} } /// /// 截港日期 [ModelDB] public string CLOSINGDATE { set{ _closingdate=value;} get{return _closingdate;} } /// /// 预抵日期 [ModelDB] public string ETA { set{ _eta=value;} get{return _eta;} } /// /// 分公司代码 [ModelDB] public string CORPID { set{ _corpid=value;} get{return _corpid;} } /// /// 默认场站(码头) [ModelDB] public string YARDID { set{ _yardid=value;} get{return _yardid;} } /// /// [ModelDB] public string ENTREPORT { set{ _entreport=value;} get{return _entreport;} } public string ENTREPORTREF { set { _entreportref = value; } get { return _entreportref; } } /// /// [ModelDB] public string VESSEL { set{ _vessel=value;} get{return _vessel;} } [ModelDB] public string ATD { set { _atd = value; } get { return _atd; } } /// /// 截单时间 [ModelDB] public string CLOSEDOCDATE { set { _closedocdate = value; } get { return _closedocdate; } } #endregion Model public code_voynoModel() { TableName = "code_voyno"; } } }