重新生成Entity文件
This commit is contained in:
175
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolTools.cs
Normal file
175
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolTools.cs
Normal file
@@ -0,0 +1,175 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///工装工具
|
||||
///</summary>
|
||||
[SugarTable("tool_tools")]
|
||||
public partial class ToolTools
|
||||
{
|
||||
public ToolTools(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属组织
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? org_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属类型
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string type_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工具代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string model_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:型号代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tool_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工具名称
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tool_name {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:状态: 10-登记 20-在库 30-已领用 40-已安装 90-已报废
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int status {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所在仓库Id
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? ware_house_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所在库位
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? location_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:最大使用次数
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? maxuse_times {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:累计使用次数
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? used_times {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:周期
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int cycle_times {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:生产厂家
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? supplier_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:联系人
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? contact_name {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:报废原因
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? scrap_reason {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:时间戳
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? create_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? create_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? modify_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? modify_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:扩展字段
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? extras {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user