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