using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
///
/// 工作中心与工位关系表
///
[SugarTable("bas_workcenter_station")]
public partial class BasWorkcenterStation : BaseEntity
{
public BasWorkcenterStation()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 工作中心ID
///
public string workcenter_id { get; set; } = string.Empty;
///
/// 工作中心代码
///
public string workcenter_code { get; set; } = string.Empty;
///
/// 工位ID,STATION.ID
///
public string station_id { get; set; } = string.Empty;
///
/// 工位代码,STATION.STATIONCODE
///
public string station_code { get; set; } = string.Empty;
///
/// 时间戳(用于并发处理)
///
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; }
}