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.

111 lines
2.7 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_voyno", DisableSyncStructure = true)]
public partial class CodeVoyno {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string VOID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? ATD { get; set; }
/// <summary>
/// 船公司
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string CARRIER { get; set; }
/// <summary>
/// 截单时间
/// </summary>
[JsonProperty]
public DateTime? CLOSEDOCDATE { get; set; }
/// <summary>
/// VGM时间
/// </summary>
[JsonProperty]
public DateTime? CLOSEVGMDATE { get; set; }
/// <summary>
/// 截港日期
/// </summary>
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? CLOSINGDATE { get; set; }
/// <summary>
/// 分公司代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
[JsonProperty, Column(DbType = "varchar(60)")]
public string ENTREPORT { get; set; }
/// <summary>
/// 预抵日期
/// </summary>
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? ETA { get; set; }
/// <summary>
/// 开船日期
/// </summary>
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? ETD { get; set; }
/// <summary>
/// 船代
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FORWARDER { get; set; }
/// <summary>
/// 卸货港
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 装货港
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTLOAD { get; set; }
[JsonProperty, Column(DbType = "varchar(60)")]
public string VESSEL { get; set; }
/// <summary>
/// 航次
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)", IsNullable = false)]
public string VOYNO { get; set; }
/// <summary>
/// 内部航次
/// </summary>
[JsonProperty, Column(Name = "VOYNO_FORWARDER", DbType = "varchar(50)")]
public string VOYNOFORWARDER { get; set; }
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string VSID { get; set; }
/// <summary>
/// 默认场站(码头)
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string YARDID { get; set; }
}
}