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.
189 lines
4.6 KiB
C#
189 lines
4.6 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 = "op_ctn", DisableSyncStructure = true)]
|
|
public partial class OpCtn {
|
|
|
|
/// <summary>
|
|
/// 编号
|
|
/// </summary>
|
|
[JsonProperty, Column(Name = "CTN_ID", DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
|
|
public string CTNID { get; set; } = Guid.NewGuid().ToString().ToUpper();
|
|
|
|
/// <summary>
|
|
/// 业务编号
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
|
|
public string BSNO { get; set; }
|
|
|
|
/// <summary>
|
|
/// 尺码
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "numeric(18,3)")]
|
|
public decimal? CBM { get; set; } = 0M;
|
|
|
|
/// <summary>
|
|
/// 箱号
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
public string CNTRNO { get; set; }
|
|
|
|
/// <summary>
|
|
/// 箱型
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
public string CTN { get; set; }
|
|
|
|
/// <summary>
|
|
/// 表现形式
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
public string CTNALL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 箱型代码
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(4)")]
|
|
public string CTNCODE { get; set; }
|
|
|
|
[JsonProperty]
|
|
public int? CTNDAY { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,2)")]
|
|
public decimal? CTNFEE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 箱量
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? CTNNUM { get; set; } = 0;
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,2)")]
|
|
public decimal? CTNPRICE { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
public string CTNSTATUS { get; set; }
|
|
|
|
[JsonProperty]
|
|
public int? FREECTNDAY { get; set; }
|
|
|
|
[JsonProperty]
|
|
public int? FREESTORAGEDAY { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
public string GOODSNAME { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 重量
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "numeric(18,3)")]
|
|
public decimal? KGS { get; set; } = 0M;
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string KINDPKGS { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
public string MASTERNO { get; set; }
|
|
|
|
/// <summary>
|
|
/// 件数
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? PKGS { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(50)")]
|
|
public string REMARK { get; set; }
|
|
|
|
/// <summary>
|
|
/// 封号
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string SEALNO { get; set; }
|
|
|
|
/// <summary>
|
|
/// 尺寸
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(3)")]
|
|
public string SIZE { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(10)")]
|
|
public string StaVGM { get; set; }
|
|
|
|
[JsonProperty]
|
|
public int? STORAGEDAY { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,2)")]
|
|
public decimal? STORAGEFEE { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,2)")]
|
|
public decimal? STORAGEPRICE { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,3)")]
|
|
public decimal? TAREWEIGHT { get; set; } = 0M;
|
|
|
|
/// <summary>
|
|
/// TEU
|
|
/// </summary>
|
|
[JsonProperty]
|
|
public int? TEU { get; set; } = 0;
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string TRUCKER { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "numeric(18,2)")]
|
|
public decimal? TRUCKFEE { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
public string TRUCKNO { get; set; }
|
|
|
|
[JsonProperty, Column(Name = "vgmconncom", DbType = "varchar(200)", IsNullable = false)]
|
|
public string Vgmconncom { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// VGM联系人
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string WEIGHATTN { get; set; } = "";
|
|
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string WEIGHDATE { get; set; }
|
|
|
|
/// <summary>
|
|
/// 称重重量
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "numeric(18,3)")]
|
|
public decimal? WEIGHKGS { get; set; } = 0M;
|
|
|
|
/// <summary>
|
|
/// VGM联系人签名
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string WEIGHSIGN { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// VGM联系人电话
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(20)")]
|
|
public string WEIGHTEL { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// 称重方式
|
|
/// </summary>
|
|
[JsonProperty, Column(DbType = "varchar(30)")]
|
|
public string WEIGHTYPE { get; set; } = "";
|
|
|
|
}
|
|
|
|
}
|