using System;
using System.Linq;
using System.Text;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.EquipMgr.Entities
{
///
///库位资料
///
[SugarTable("tool_location")]
public partial class ToolLocation
{
public ToolLocation(){
}
///
/// 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:库位代码(库位编号唯一)
/// Default:
/// Nullable:False
///
public string location_code {get;set;} = string.Empty;
///
/// Desc:货架ID
/// Default:
/// Nullable:False
///
public string rack_id {get;set;} = string.Empty;
///
/// Desc:区域ID
/// Default:
/// Nullable:False
///
public string region_id {get;set;} = string.Empty;
///
/// Desc:仓库ID
/// Default:
/// Nullable:False
///
public string wh_id {get;set;} = string.Empty;
///
/// Desc:层数
/// Default:
/// Nullable:False
///
public int layers {get;set;}
///
/// Desc:位置序号
/// Default:
/// Nullable:False
///
public int seq {get;set;}
///
/// 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:True
///
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;}
}
}