using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(Name = "code_disport", DisableSyncStructure = true)]
public partial class CodeDisport {
///
/// 港口代码
///
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string PORTID { get; set; } = Guid.NewGuid().ToString().ToUpper();
///
/// 洲
///
[JsonProperty, Column(DbType = "varchar(60)")]
public string CHAU { get; set; }
///
/// 中文名称
///
[JsonProperty, Column(DbType = "varchar(60)")]
public string CNAME { get; set; }
///
/// 国家
///
[JsonProperty, Column(DbType = "varchar(80)")]
public string COUNTRY { get; set; }
///
/// 国家代码
///
[JsonProperty, Column(DbType = "varchar(2)")]
public string COUNTRYID { get; set; }
[JsonProperty, Column(DbType = "varchar(10)")]
public string EDICODE { get; set; }
///
/// 说明
///
[JsonProperty, Column(DbType = "varchar(2000)")]
public string EXPLAIN { get; set; }
///
/// 航线编号
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string LANEGID { get; set; }
///
/// 港口英文名称
///
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORT { get; set; }
///
/// 港口类型
///
[JsonProperty, Column(DbType = "varchar(10)")]
public string PORTTYPE { get; set; }
}
}