重新生成Entity文件
This commit is contained in:
@@ -0,0 +1,203 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///批次在制品信息
|
||||
///</summary>
|
||||
[SugarTable("prd_lot_simulation")]
|
||||
public partial class PrdLotSimulation
|
||||
{
|
||||
public PrdLotSimulation(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:租户ID
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? tenant_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属组织
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? org_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:批次号/派工单代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string lot_no {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工单代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string mo_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 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 station_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:开工时间
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime start_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:完工时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? end_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:作业总人时(分钟数)
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? man_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:作业总机时(分钟数)
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? machine_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:作业状态: NEW-未开工 WORK-作业中 STOP-停工 COMPLETE-完工
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string status {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:进站数量
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? input_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:合格数量
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? qualifity_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:不合格数量
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? un_qualifity_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:报废数量
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? scrap_qty {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