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.

75 lines
1.8 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_detail", DisableSyncStructure = true)]
public partial class OpCtnDetail {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 尺码
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? CBM { get; set; } = 0M;
[JsonProperty, Column(Name = "CTN_ID", DbType = "varchar(36)", IsNullable = false)]
public string CTNID { get; set; } = "";
/// <summary>
/// 货物描述
/// </summary>
[JsonProperty, Column(DbType = "varchar(2000)")]
public string DESCRIPTION { get; set; } = "";
/// <summary>
/// HS编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string HSCODE { get; set; } = "";
[JsonProperty, Column(IsIdentity = true)]
public int ID { get; set; }
/// <summary>
/// 重量
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? KGS { get; set; } = 0M;
/// <summary>
/// 件数包装
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string KINDPKGS { get; set; } = "";
/// <summary>
/// 唛头
/// </summary>
[JsonProperty, Column(DbType = "varchar(600)")]
public string MARKS { get; set; } = "";
/// <summary>
/// 件数
/// </summary>
[JsonProperty]
public int? PKGS { get; set; } = 0;
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string REMARK { get; set; } = "";
}
}