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.

45 lines
1.2 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_package", DisableSyncStructure = true)]
public partial class CodePackage {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "varchar(10)")]
public string AFRCODE { get; set; }
/// <summary>
/// 中文说明
/// </summary>
[JsonProperty, Column(DbType = "varchar(30)")]
public string CEXPLAIN { get; set; }
[JsonProperty, Column(Name = "cosco", DbType = "varchar(10)")]
public string Cosco { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(5)")]
public string EDICODE { get; set; }
/// <summary>
/// 包装类型
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)]
public string PKGS { get; set; }
}
}