|
|
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 = "op_apply", DisableSyncStructure = true)]
|
|
|
public partial class OpApply {
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)]
|
|
|
public string BSNO { get; set; } = "*";
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(7)", IsNullable = false)]
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string ARCOUNTRY { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
|
public string BOOKNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
|
public string BSCUSTOMNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "smalldatetime")]
|
|
|
public DateTime BSDATE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string BSSOURCEDETAIL { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool BSSTATUS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(12)")]
|
|
|
public string BSTYPE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string BYCUSTOM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_运费币制,当carriageType是[率]时,不能填运费币制
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "carriageCurrency", DbType = "varchar(6)")]
|
|
|
public string CarriageCurrency { get; set; } = "";
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_运费金额
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "carriagePrice", DbType = "numeric(19,7)")]
|
|
|
public decimal? CarriagePrice { get; set; } = 0M;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_运费类型,率,单价,总价
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "carriageType", DbType = "varchar(10)")]
|
|
|
public string CarriageType { get; set; } = "";
|
|
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,4)")]
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public DateTime? CLEARCUSTOMDATE { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR1 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR10 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR2 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR3 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR4 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR5 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR6 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR7 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR8 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? CNTR9 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(36)")]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string CUSTOMDATE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CUSTOMSER { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CUSTOMSLNO { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public short? CUSTOMSNUM { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string CUSTOMTYPE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string DOCNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_0代表一般出口业务;1代表一般进口业务;2代表出口备案手册业务;3代表进口备案手册业务;4出境清单业务;5进境清单业务;
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "ediYwlx")]
|
|
|
public int? EdiYwlx { get; set; } = 0;
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string ENTERP { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string ENTERPID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string ETA { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string ETD { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool FEESTATUS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string GOODSOURCE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
|
public string HBLNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string INPUTBY { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string INSPECTIONDATE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string INSPECTIONNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string INSPECTSERVICE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string INVNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string ISCLEAR { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string ISCUSTOMEND { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? ISMOREGOOD { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string ISPRINTPR { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
|
|
|
public string IsService1 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsService10 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsService11 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsService12 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsService13 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsService14 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsService15 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsService16 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
|
|
|
public string IsService2 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
|
|
|
public string IsService3 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
|
|
|
public string IsService4 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
|
|
|
public string IsService5 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
|
|
|
public string IsService6 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
|
|
|
public string IsService7 { get; set; } = "0";
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
|
|
|
public string IsService8 { get; set; } = "0";
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsService9 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee1 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee10 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee11 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee12 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee13 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee14 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee15 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee16 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee2 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee3 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee4 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee5 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee6 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee7 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee8 { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(1)")]
|
|
|
public string IsServiceFee9 { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public bool? ISVOU { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,4)")]
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string MANIFESTSTATUS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
|
|
|
public string MASTERNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,4)")]
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string OP { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
|
public string OPDATE { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? OTCNTR { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_征税比例(电汇),出口方式需要必填,进口方式不填
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "payMent", DbType = "varchar(4)")]
|
|
|
public string PayMent { get; set; } = "";
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? PKGS { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string PORTDISCHARGE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string PORTLOAD { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_保费币制,当premiumType是[率]时,不能填保费币制
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "premiumCurrency", DbType = "varchar(6)")]
|
|
|
public string PremiumCurrency { get; set; } = "";
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_保费金额
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "premiumPrice", DbType = "numeric(19,7)")]
|
|
|
public decimal? PremiumPrice { get; set; } = 0M;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_保费类型,率,单价,总价
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "premiumType", DbType = "varchar(10)")]
|
|
|
public string PremiumType { get; set; } = "";
|
|
|
|
|
|
/// <summary>
|
|
|
/// 易航线_备案号,ediYwlx =0||1时,该字段不填写,其他必须填写
|
|
|
/// </summary>
|
|
|
[JsonProperty, Column(Name = "recordSn", DbType = "varchar(12)")]
|
|
|
public string RecordSn { 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(36)")]
|
|
|
public string SALECORPID { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string SALEDEPT { get; set; }
|
|
|
|
|
|
[JsonProperty]
|
|
|
public int? TEU { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "numeric(27,0)")]
|
|
|
public decimal? TimeMark { get; set; } = 0M;
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string TRADETERM { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
|
public string TRADETYPE { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(60)")]
|
|
|
public string VESSEL { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(12)")]
|
|
|
public string VOUNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(12)")]
|
|
|
public string VOYNO { get; set; }
|
|
|
|
|
|
[JsonProperty, Column(DbType = "varchar(100)")]
|
|
|
public string WMSNO { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|