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.
48 lines
1.1 KiB
C#
48 lines
1.1 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_vessel", DisableSyncStructure = true)]
|
|
public partial class CodeVessel {
|
|
|
|
/// <summary>
|
|
/// 船公司
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string CARRIER { get; set; }
|
|
|
|
/// <summary>
|
|
/// 中文名称
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
public string CNAME { get; set; }
|
|
|
|
/// <summary>
|
|
/// 船舶呼号
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
public string EDICODE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 船名
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(60)", IsNullable = false)]
|
|
public string VESSEL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 船名代码
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
|
|
public string VSID { get; set; } = Guid.NewGuid().ToString().ToUpper();
|
|
|
|
}
|
|
|
|
}
|