Files
2023-05-18 18:15:38 +08:00

83 lines
1.7 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
/// <summary>
/// 产品标准BOM主档
/// </summary>
[SugarTable("bas_sbom_h")]
public partial class BasSbomH : BaseEntity<string>
{
public BasSbomH()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 租户ID
/// </summary>
public string? tenanti_d { get; set; }
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
/// <summary>
/// 产品IDBAS_ITEM.ID
/// </summary>
public string? item_id { get; set; }
/// <summary>
/// 产品代码
/// </summary>
public string? item_code { get; set; }
/// <summary>
/// BOM类型 量产BOMStandard 返工BOMRework 试制BOMTrial 返修BOMRMA 包装BOMPack
/// </summary>
public string bom_type { get; set; } = string.Empty;
/// <summary>
/// BOM版本
/// </summary>
public string version { get; set; } = string.Empty;
/// <summary>
/// 备注
/// </summary>
public string? remark { get; set; }
/// <summary>
/// 时间戳(用于并发控制)
/// </summary>
public string? timestamp { get; set; }
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime create_time { get; set; } = DateTime.Now;
/// <summary>
/// 修改用户
/// </summary>
public string? modify_id { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public DateTime? modify_time { get; set; }
/// <summary>
/// 扩展字段
/// </summary>
public string? extras { get; set; }
}