using FreeSql.DataAnnotations; using Newtonsoft.Json; using System; using System.ComponentModel.DataAnnotations; namespace djy.Model.Ams { [JsonObject(MemberSerialization.OptIn), Table(Name = "CodePort", DisableSyncStructure = true)] public class CodePort { [JsonProperty, Column(IsPrimary = true, IsNullable = false)] [MaxLength(36)] public string GID { get; set; } [MaxLength(20)] public string Code { get; set; } [MaxLength(60)] public string EnName { get; set; } [MaxLength(100)] public string CnName { get; set; } [MaxLength(36)] public string ShippingRoute { get; set; } [MaxLength(50)] public string Country { get; set; } [MaxLength(10)] public string CountryCode { get; set; } [MaxLength(200)] public string FullName { get; set; } [MaxLength(500)] public string Description { get; set; } [MaxLength(10)] public string EdiCode { get; set; } [MaxLength(500)] public string Remark { get; set; } public DateTime CreateTime { get; set; } public DateTime? ModifyTime { get; set; } [MaxLength(36)] public string CreateUser { get; set; } [MaxLength(36)] public string ModifyUser { get; set; } } }