using System; using System.Linq; using System.Text; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities { /// ///工作中心与工位关系表 /// [SugarTable("bas_workcenter_station")] public partial class BasWorkcenterStation { public BasWorkcenterStation(){ } /// /// Desc:编号 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey=true)] public string id {get;set;} = SnowflakeIdHelper.NextId(); /// /// Desc:所属组织 /// Default:NULL::character varying /// Nullable:True /// public string? org_id {get;set;} /// /// Desc:工作中心ID /// Default: /// Nullable:False /// public string workcenter_id {get;set;} = string.Empty; /// /// Desc:工作中心代码 /// Default: /// Nullable:False /// public string workcenter_code {get;set;} = string.Empty; /// /// Desc:工位ID,STATION.ID /// Default: /// Nullable:False /// public string station_id {get;set;} = string.Empty; /// /// Desc:工位代码,STATION.STATIONCODE /// Default: /// Nullable:False /// public string station_code {get;set;} = string.Empty; /// /// Desc:时间戳(用于并发处理) /// Default:NULL::character varying /// Nullable:True /// public string? timestamp {get;set;} /// /// Desc:创建用户 /// Default:NULL::character varying /// Nullable:True /// public string? create_id {get;set;} /// /// Desc:创建时间 /// Default: /// Nullable:False /// public DateTime create_time {get;set;} /// /// Desc:修改用户 /// Default:NULL::character varying /// Nullable:True /// public string? modify_id {get;set;} /// /// Desc:修改时间 /// Default: /// Nullable:True /// public DateTime? modify_time {get;set;} /// /// Desc:扩展字段 /// Default: /// Nullable:True /// public string? extras {get;set;} } }