using System;
using System.Linq;
using System.Text;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities
{
///
///工序ESOP文件主档表
///
[SugarTable("bas_process_esop")]
public partial class BasProcessEsop
{
public BasProcessEsop(){
}
///
/// Desc:编号
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true)]
public string id {get;set;} = SnowflakeIdHelper.NextId();
///
/// Desc:所属组织
/// Default:NULL::character varying
/// Nullable:True
///
public string? org_id {get;set;}
///
/// Desc:文件名
/// Default:
/// Nullable:False
///
public string file_name {get;set;} = string.Empty;
///
/// Desc:文件类型代码
/// Default:
/// Nullable:False
///
public string filetype_code {get;set;} = string.Empty;
///
/// Desc:文件类型名称
/// Default:
/// Nullable:False
///
public string filetype_name {get;set;} = string.Empty;
///
/// Desc:产品ID
/// Default:
/// Nullable:False
///
public string item_id {get;set;} = string.Empty;
///
/// Desc:产品代码
/// Default:
/// Nullable:False
///
public string item_code {get;set;} = string.Empty;
///
/// Desc:工艺路线代码
/// Default:
/// Nullable:False
///
public string route_code {get;set;} = string.Empty;
///
/// Desc:工艺路线版本
/// Default:
/// Nullable:False
///
public string route_version {get;set;} = string.Empty;
///
/// Desc:工序代码
/// Default:
/// Nullable:False
///
public string process_code {get;set;} = string.Empty;
///
/// Desc:同步控制 10-同步并覆盖 20-同步不覆盖 30-不允许同步
/// Default:NULL::character varying
/// Nullable:True
///
public string? sync_control {get;set;}
///
/// Desc:产品ESOP文件主档id
/// Default:
/// Nullable:True
///
public long? item_esopid {get;set;}
///
/// Desc:是否生效
/// Default:
/// Nullable:False
///
public int isactive {get;set;}
///
/// Desc:时间戳(用于并发控制)
/// Default:NULL::character varying
/// Nullable:True
///
public string? timestamp {get;set;}
///
/// Desc:创建用户
/// Default:NULL::character varying
/// Nullable:True
///
public string? create_id {get;set;}
///
/// Desc:创建时间
/// Default:
/// Nullable:False
///
public DateTime create_time {get;set;}
///
/// Desc:修改用户
/// Default:NULL::character varying
/// Nullable:True
///
public string? modify_id {get;set;}
///
/// Desc:修改时间
/// Default:
/// Nullable:True
///
public DateTime? modify_time {get;set;}
///
/// Desc:扩展字段
/// Default:
/// Nullable:True
///
public string? extras {get;set;}
}
}