重新生成Entity文件
This commit is contained in:
161
BasicData/Tnb.BasicData.Entities/Entity/BasLabelRule.cs
Normal file
161
BasicData/Tnb.BasicData.Entities/Entity/BasLabelRule.cs
Normal file
@@ -0,0 +1,161 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.BasicData.Entities
|
||||
{
|
||||
///<summary>
|
||||
///条码标签规则
|
||||
///</summary>
|
||||
[SugarTable("bas_label_rule")]
|
||||
public partial class BasLabelRule
|
||||
{
|
||||
public BasLabelRule(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属组织
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? org_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:规则代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string rule_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:规则名称
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string rule_name {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:条码类型(数据字典): MaterialLot:批次物料条码; MaterialKeyparts:单件物料条码; Product:产品条码; Carton:箱号条码; Pallet:栈板条码;
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string sn_type {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:前缀
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string prefix {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:年度
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int year {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:季度
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int quarter {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:月份
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int month {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:周别
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int week {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:日期
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int date {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:流水码长度
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int serial_lenth {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:系统类型
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? system_type {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:时间戳(用于并发处理)
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? create_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime create_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? modify_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? modify_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:扩展字段
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? extras {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user