using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpCtnStatus { [JsonObject] public class MsCtn : ModelObjectBillHead { #region 读写属性 private int _cntrid =0; /// /// 编号 /// public int cntrid { get { return _cntrid; } set { _cntrid = value; } } private string _cntrno = ""; /// /// 箱号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string cntrno { get { return _cntrno; } set { _cntrno = value; } } private string _cntrowner = ""; /// /// 箱主 /// [ModelDB] public string cntrowner { get { return _cntrowner; } set { _cntrowner = value; } } [ModelDB] public string gid { get; set; } [ModelDB] public string selltime { get; set; } private string _cntype = ""; /// /// 箱型 /// [ModelDB] public string cntype { get { return _cntype; } set { _cntype = value; } } private string _cnsource = ""; /// /// 箱源 /// [ModelDB] public string cnsource { get { return _cnsource; } set { _cnsource = value; } } private string _buytime; /// /// 购买时间 /// [ModelDB] public string buytime { get { return _buytime; } set { _buytime = value; } } private string _rent_begintime; /// /// 开始时间 /// [ModelDB] public string rent_begintime { get { return _rent_begintime; } set { _rent_begintime = value; } } private string _rent_endtime; /// /// 结束时间 /// [ModelDB] public string rent_endtime { get { return _rent_endtime; } set { _rent_endtime = value; } } private int? _status = 0; /// /// 状态 /// [ModelDB] public int? status { get { return _status; } set { _status = value; } } private string _statusref = ""; public string statusref { get { return _statusref; } set { _statusref = value; } } private string _position=""; /// /// 地点 /// [ModelDB] public string position { get { return _position; } set { _position = value; } } private string _positioncname = ""; public string positioncname { get { return _positioncname; } set { _positioncname = value; } } private string _positionname = ""; /// /// 地点名称 /// [ModelDB] public string positionname { get { return _positionname; } set { _positionname = value; } } private string _remark = ""; /// /// 备注 /// [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } private string _vessel = ""; /// /// 船名 /// [ModelDB] public string vessel { get { return _vessel; } set { _vessel = value; } } private string _voyage = ""; /// /// 航次 /// [ModelDB] public string voyage { get { return _voyage; } set { _voyage = value; } } [ModelDB] public DateTime? buy { get; set; } [ModelDB] public DateTime? rents { get; set; } [ModelDB] public DateTime? rente { get; set; } [ModelDB] public DateTime? sell { get; set; } private string _beginpostion = ""; /// /// 启用地点 /// [ModelDB] public string beginpostion { get { return _beginpostion; } set { _beginpostion = value; } } private string _beginpostionref = ""; /// /// 启用地点 /// public string beginpostionref { get { return _beginpostionref; } set { _beginpostionref = value; } } #endregion public MsCtn() { TableName = "container_info"; } } #region 参照部分 public class MsOpSeaiDetailRefMsOpSeai { public string BSNO { get; set; } } #endregion }