|
|
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 = "crm_seaeorder", DisableSyncStructure = true)]
|
|
|
public partial class CrmSeaeorder {
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
|
|
|
public string ORDNO { get; set; } = Guid.NewGuid().ToString().ToUpper();
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(600)")]
|
|
|
public string AGENT { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string AGENTID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 审核日期
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public DateTime? AUDITDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 审核人
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string AUDITOPERATOR { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string BILLNUM { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string BLFRT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 装箱方式
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(DbType = "varchar(8)")]
|
|
|
public string BLTYPE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(InsertValueSql = "getdate()")]
|
|
|
public DateTime BSDATE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "char(1)")]
|
|
|
public string CARGOID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CARRIER { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CARRIERATTN { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string CARRIEREMAIL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string CARRIERTEL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,2)")]
|
|
|
public decimal? CBM { get; set; } = 0M;
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(4000)")]
|
|
|
public string CNTRTOTAL { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public DateTime? CONFIRMDATE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string CONFIRMOP { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(600)")]
|
|
|
public string CONSIGNEE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CONSIGNEEID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CUSTOMSNUM { get; set; } = 0;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 客服员 web_user( 旧表:t_sys_empolyee)
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string CUSTSERVICE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(5)")]
|
|
|
public string DCLASS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(2000)")]
|
|
|
public string DESCRIPTION { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? DESTFBP { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string DESTINATION { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string DESTINATIONID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(32)")]
|
|
|
public string DLABEL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(Name = "doc", DbType = "varchar(10)")]
|
|
|
public string Doc { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(7)")]
|
|
|
public string DPAGE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(16)")]
|
|
|
public string DUNNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "smalldatetime")]
|
|
|
public DateTime? ETD { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? FBP { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string FORWARDER { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string FORWARDERATTN { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string FORWARDEREMAIL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string FORWARDERTEL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(600)")]
|
|
|
public string GROSSWEIGHT { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string HSCODE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string INVNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 使用代理
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public bool? ISAGENT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public bool? ISBOOKING { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? ISCOMMISSIONBACK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 报关
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public bool? ISCUSTOMS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 熏蒸
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public bool? ISFUMIGATION { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 分单签单
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public bool? ISHBLNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 报检
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public bool? ISINSPECTION { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 陆运
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public bool? ISLAND { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 仓储
|
|
|
/// </summary>
|
|
|
[JsonProperty]
|
|
|
public bool? ISSTORAGE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "smalldatetime")]
|
|
|
public DateTime? ISSUEDATE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string ISSUEPLACE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(12)")]
|
|
|
public string ISSUETYPE { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? ISUSD { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,2)")]
|
|
|
public decimal? KGS { get; set; } = 0M;
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
|
|
|
public string LANE { get; set; } = "";
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(35)")]
|
|
|
public string LINKMAN { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(600)")]
|
|
|
public string MARKS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string MAXWEIGHT { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(600)")]
|
|
|
public string MEASUREMENT { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(5)")]
|
|
|
public string NOBILL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(120)")]
|
|
|
public string NOPKGS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(600)")]
|
|
|
public string NOTIFYPARTY { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string NOTIFYPARTYID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,2)")]
|
|
|
public decimal? OCEANFEE { get; set; } = 0M;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 操作员 web_user( 旧表:t_sys_empolyee)
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string OP { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string OPERATOR { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string OPERATOREMAIL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string OPERATORTEL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(8)")]
|
|
|
public string ORDTYPE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(600)")]
|
|
|
public string ORREASON { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "char(1)", IsNullable = false)]
|
|
|
public string ORSTATUS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string PACKINGTYPE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string PAYABLEAT { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? PKGS { get; set; } = 0;
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string PLACEDELIVERY { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string PLACEDELIVERYID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string PlACERECEIPT { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string PLANPROFIT { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string PORTDISCHARGEID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string PORTLOADID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string PREPARDAT { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(5)")]
|
|
|
public string REEFERF { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(200)")]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string SALE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string SERVICE { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? SERVICE10 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? SERVICE9 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(600)")]
|
|
|
public string SHIPPER { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string SHIPPERID { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? STATUS1 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? STATUS2 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? STATUS3 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? STATUS4 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? STATUS5 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public DateTime? STLDATE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string STLNAME { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "char(1)")]
|
|
|
public string TEMPID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(5)")]
|
|
|
public string TEMPMAX { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(5)")]
|
|
|
public string TEMPMIN { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(5)")]
|
|
|
public string TEMPSET { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
|
public string TOTALNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(12)")]
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|