重新生成Entity文件
This commit is contained in:
@@ -0,0 +1,280 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///在制品历史记录
|
||||
///</summary>
|
||||
[SugarTable("prd_simulationreport")]
|
||||
public partial class PrdSimulationreport
|
||||
{
|
||||
public PrdSimulationreport(){
|
||||
|
||||
|
||||
}
|
||||
/// <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 r_card {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品序列号过站次序
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int r_card_seq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工单代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string mo_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:转换前的产品序列号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string source_card {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:转换前的产品序列号流水号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int source_card_seq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品类型代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string category_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string item_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:关联比例
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public decimal relation_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:班制代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string shift_type_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:班次代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string shift_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:时段代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tp_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工作天
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int shift_day {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工艺路线代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string route_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工艺路线版本
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string route_version {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工序代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string process_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工厂代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string factory_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工段代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string segment_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产线代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string production_line_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:岗位代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string station_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:装箱条码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? carton_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:抽检批号
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lot_no {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品状态: GOOD, OFFLINE, OFFMO, OUTLINE, NG, REJECT, SCRAP
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string product_status {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:最后过站事件代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string last_action {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:过站事件列表
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string action_list {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:NG总次数
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int ng_times {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:过站开始时间
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime begin_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:过站结束时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? end_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否完工
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int is_complete {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:员工表
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? staffs {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:时间戳
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? time_stamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? create_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </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