using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
///
/// 产品关联文档记录
///
[SugarTable("bas_product_doc_log")]
public partial class BasProductDocLog : BaseEntity
{
public BasProductDocLog()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 产品代码
///
public string product_code { get; set; } = string.Empty;
///
/// 工艺路线代码
///
public string? route_code { get; set; }
///
/// 工艺路线版本
///
public string? route_verison { get; set; }
///
/// 工序代码
///
public string? process_code { get; set; }
///
/// 文档编号
///
public string doc_code { get; set; } = string.Empty;
///
/// 文档版本
///
public decimal doc_version { get; set; }
///
/// 文档唯一码 GUID 的文本
///
public string? doc_unique_code { get; set; }
///
/// 时间戳(用于并发处理)
///
public string? timestamp { get; set; }
///
/// 创建用户
///
public string? create_id { get; set; }
///
/// 创建时间
///
public DateTime? create_time { get; set; }
///
/// 修改用户
///
public string? modify_id { get; set; }
///
/// 修改时间
///
public DateTime? modify_time { get; set; }
///
/// 扩展字段
///
public string? extras { get; set; }
}