using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
///
/// 生产线资料
///
[SugarTable("bas_workline")]
public partial class BasWorkline : BaseEntity
{
public BasWorkline()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 产线代码
///
public string workline_code { get; set; } = string.Empty;
///
/// 产线名称
///
public string workline_name { get; set; } = string.Empty;
///
/// 所属工段ID,BAS_SEGMENT.ID
///
public string segment_id { get; set; } = string.Empty;
///
/// 所属工段代码
///
public string segment_code { get; set; } = string.Empty;
///
/// 班制代码ID,BAS_SHIFTTYPE.ID
///
public string shifttype_id { get; set; } = string.Empty;
///
/// 班制代码
///
public string shifttype_code { get; set; } = string.Empty;
///
/// 所属工厂ID,BAS_FACTORY.ID
///
public string factory_id { get; set; } = string.Empty;
///
/// 所属工厂代码
///
public string factory_code { get; set; } = string.Empty;
///
/// 备注
///
public string? remark { 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; }
}