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; }
///
/// 船公司
///
[JsonProperty, Column(DbType = "varchar(50)")]
public string CARRIER { get; set; }
///
/// 截单时间
///
[JsonProperty]
public DateTime? CLOSEDOCDATE { get; set; }
///
/// VGM时间
///
[JsonProperty]
public DateTime? CLOSEVGMDATE { get; set; }
///
/// 截港日期
///
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? CLOSINGDATE { get; set; }
///
/// 分公司代码
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
[JsonProperty, Column(DbType = "varchar(60)")]
public string ENTREPORT { get; set; }
///
/// 预抵日期
///
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? ETA { get; set; }
///
/// 开船日期
///
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? ETD { get; set; }
///
/// 船代
///
[JsonProperty, Column(DbType = "varchar(50)")]
public string FORWARDER { get; set; }
///
/// 卸货港
///
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTDISCHARGE { get; set; }
///
/// 装货港
///
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTLOAD { get; set; }
[JsonProperty, Column(DbType = "varchar(60)")]
public string VESSEL { get; set; }
///
/// 航次
///
[JsonProperty, Column(DbType = "varchar(10)", IsNullable = false)]
public string VOYNO { get; set; }
///
/// 内部航次
///
[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; }
///
/// 默认场站(码头)
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string YARDID { get; set; }
}
}