You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.8 KiB
C#

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 {
/// <summary>
/// 港口代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string PORTID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 洲
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string CHAU { get; set; }
/// <summary>
/// 中文名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string CNAME { get; set; }
/// <summary>
/// 国家
/// </summary>
[JsonProperty, Column(DbType = "varchar(80)")]
public string COUNTRY { get; set; }
/// <summary>
/// 国家代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string COUNTRYID { get; set; }
[JsonProperty, Column(DbType = "varchar(10)")]
public string EDICODE { get; set; }
/// <summary>
/// 说明
/// </summary>
[JsonProperty, Column(DbType = "varchar(2000)")]
public string EXPLAIN { get; set; }
/// <summary>
/// 航线编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string LANEGID { get; set; }
/// <summary>
/// 港口英文名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORT { get; set; }
/// <summary>
/// 港口类型
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string PORTTYPE { get; set; }
}
}