重新生成实体类
This commit is contained in:
@@ -1,189 +1,132 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities
|
||||
namespace Tnb.ProductionMgr.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 返工需求单
|
||||
/// </summary>
|
||||
[SugarTable("prd_reworksheet")]
|
||||
public partial class PrdReworksheet : BaseEntity<string>
|
||||
{
|
||||
///<summary>
|
||||
///返工需求单
|
||||
///</summary>
|
||||
[SugarTable("prd_reworksheet")]
|
||||
public partial class PrdReworksheet
|
||||
public PrdReworksheet()
|
||||
{
|
||||
public PrdReworksheet(){
|
||||
|
||||
|
||||
}
|
||||
/// <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 rework_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工类型: 1:OnLine在线返工, 2:QCReject判退返工
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string rework_type {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:物品代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string item_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品附属信息
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? item_attribute {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工需求单状态
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string status {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工工艺路线
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? rework_route {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工工艺路线版本
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? rework_route_version {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工BOM版本
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? rework_bom_version {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工数量
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public decimal rework_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工责任别
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string duty_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:QC判退批号
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? qc_lot {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工情况说明
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string rework_reason {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工不良分析
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string reason_analyse {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:返工解决方案
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string solution {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否需要签核
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string need_check {get;set;} = string.Empty;
|
||||
|
||||
/// <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? 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;}
|
||||
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 所属组织
|
||||
/// </summary>
|
||||
public string? org_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返工需求单代码
|
||||
/// </summary>
|
||||
public string rework_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 返工类型: 1:OnLine在线返工, 2:QCReject判退返工
|
||||
/// </summary>
|
||||
public string rework_type { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 物品代码
|
||||
/// </summary>
|
||||
public string item_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 产品附属信息
|
||||
/// </summary>
|
||||
public string? item_attribute { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返工需求单状态
|
||||
/// </summary>
|
||||
public string status { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 返工工艺路线
|
||||
/// </summary>
|
||||
public string? rework_route { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返工工艺路线版本
|
||||
/// </summary>
|
||||
public string? rework_route_version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返工BOM版本
|
||||
/// </summary>
|
||||
public string? rework_bom_version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返工数量
|
||||
/// </summary>
|
||||
public decimal rework_qty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返工责任别
|
||||
/// </summary>
|
||||
public string duty_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// QC判退批号
|
||||
/// </summary>
|
||||
public string? qc_lot { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返工情况说明
|
||||
/// </summary>
|
||||
public string rework_reason { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 返工不良分析
|
||||
/// </summary>
|
||||
public string reason_analyse { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 返工解决方案
|
||||
/// </summary>
|
||||
public string solution { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 是否需要签核
|
||||
/// </summary>
|
||||
public string need_check { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string? remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间戳
|
||||
/// </summary>
|
||||
public string? time_stamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string? create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
/// </summary>
|
||||
public string? modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展字段
|
||||
/// </summary>
|
||||
public string? extras { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user