using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.CodeCtnEdi { [JsonObject] public class CodeCtnEdi : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString(); private string _CTN = String.Empty; private string _EDICODE = String.Empty; private string _EDINAME = String.Empty; private string _EDINAMEREF = String.Empty; private string _REMARK = String.Empty; private string _CREATEUSER = String.Empty; private string _PORTID = String.Empty; #endregion public CodeCtnEdi() { TableName = "code_ctn_edi"; } #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CTN { get { return _CTN; } set { _CTN = value; } } [ModelDB] public string EDICODE { get { return _EDICODE; } set { _EDICODE = value; } } [ModelDB] public string EDINAME { get { return _EDINAME; } set { _EDINAME = value; } } public string EDINAMEREF { get { return _EDINAMEREF; } set { _EDINAMEREF = value; } } [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } public string PORTID { get { return _PORTID; } set { _PORTID = value; } } #endregion } }