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.

90 lines
2.3 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_ctn", DisableSyncStructure = true)]
public partial class CodeCtn {
/// <summary>
/// 代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string CTNID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "varchar(10)")]
public string AFRCODE { get; set; }
/// <summary>
/// 中文说明
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string CEXPLAIN { get; set; }
[JsonProperty, Column(DbType = "varchar(5)")]
public string COSCO { get; set; }
/// <summary>
/// 表现形式
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)", IsNullable = false)]
public string CTN { get; set; }
/// <summary>
/// 集装箱类型
/// </summary>
[JsonProperty, Column(DbType = "varchar(5)", IsNullable = false)]
public string CTNSIZE { get; set; }
/// <summary>
/// 集装箱尺寸
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)", IsNullable = false)]
public string CTNTYPE { get; set; }
/// <summary>
/// 箱皮重
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? CTNWEIGHT { get; set; } = 0M;
/// <summary>
/// 默认限重
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? DLIKGS { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(5)")]
public string EDICODE { get; set; }
[JsonProperty, Column(DbType = "varchar(5)")]
public string EDICODE2 { get; set; }
[JsonProperty, Column(DbType = "varchar(5)")]
public string EDICODE3 { get; set; }
[JsonProperty, Column(DbType = "varchar(5)")]
public string EDICODE4 { get; set; }
/// <summary>
/// 英文说明
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string EEXPLAIN { get; set; }
[JsonProperty, Column(DbType = "numeric(8,2)")]
public decimal? TEU { get; set; } = 0M;
}
}