重新生成Entity文件
This commit is contained in:
231
ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMoBom.cs
Normal file
231
ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdMoBom.cs
Normal file
@@ -0,0 +1,231 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///工单BOM资料
|
||||
///</summary>
|
||||
[SugarTable("prd_mo_bom")]
|
||||
public partial class PrdMoBom
|
||||
{
|
||||
public PrdMoBom(){
|
||||
|
||||
|
||||
}
|
||||
/// <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:工单明细ID
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string mo_detail_id {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 int mo_line {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:物品ID
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string material_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:物品代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string material_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:物品附属信息
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? material_attribute {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:单位
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string unit {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:(1入库倒冲/2工序倒冲/3领料/4.虚拟件)
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int wip_type {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:prdorgid
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? prd_org_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:计划发料数量
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public decimal qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:已领数量
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? pick_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:已调拨数量
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? trans_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:已扫描领用数量
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? scan_pick_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:已扫描调拨数量
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? scan_trans_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:feedqty
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? feed_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:unitqty
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? unit_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:损耗率
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? compscap_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否计算
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? is_comsume {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:仓库ID
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? wh_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:仓库代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? wh_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:扩展字段
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? extras {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;}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user