Merge branch 'dev' of https://git.tuotong-tech.com/tnb/tnb.server into dev
This commit is contained in:
189
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckItem.cs
Normal file
189
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckItem.cs
Normal file
@@ -0,0 +1,189 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_check_item")]
|
||||
public partial class ToolCheckItem
|
||||
{
|
||||
public ToolCheckItem(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public long id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string qctype {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int seq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string itemcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string itemname {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? resulttype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int judgetype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? unit {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? limitlow {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? limithigh {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? standard {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
147
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckPeriod.cs
Normal file
147
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckPeriod.cs
Normal file
@@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_check_period")]
|
||||
public partial class ToolCheckPeriod
|
||||
{
|
||||
public ToolCheckPeriod(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public long id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tpcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tpname {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int tpseq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int tpbtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int tpetime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
147
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckResult.cs
Normal file
147
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckResult.cs
Normal file
@@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_check_result")]
|
||||
public partial class ToolCheckResult
|
||||
{
|
||||
public ToolCheckResult(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public char id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string toolcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime checkdate {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tpcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string result {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
203
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckResultDetail.cs
Normal file
203
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckResultDetail.cs
Normal file
@@ -0,0 +1,203 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_check_result_detail")]
|
||||
public partial class ToolCheckResultDetail
|
||||
{
|
||||
public ToolCheckResultDetail(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public char id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public char checkresultid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int seq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string checkitemcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string checkitemname {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? resulttype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int judgetype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? unit {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? limitlow {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? limithigh {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? standard {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? actual {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? resultcode {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
140
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckResultIcon.cs
Normal file
140
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolCheckResultIcon.cs
Normal file
@@ -0,0 +1,140 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_check_result_icon")]
|
||||
public partial class ToolCheckResultIcon
|
||||
{
|
||||
public ToolCheckResultIcon(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public long id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string resultcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string resultname {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string icon {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int resulttype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
119
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolLocation.cs
Normal file
119
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolLocation.cs
Normal file
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///库位资料
|
||||
///</summary>
|
||||
[SugarTable("tool_location")]
|
||||
public partial class ToolLocation
|
||||
{
|
||||
public ToolLocation(){
|
||||
|
||||
|
||||
}
|
||||
/// <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 location_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:货架ID
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string rack_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:区域ID
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string region_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:仓库ID
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string wh_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:层数
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int layers {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:位置序号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int seq {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;}
|
||||
|
||||
}
|
||||
}
|
||||
98
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolMaintainLog.cs
Normal file
98
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolMaintainLog.cs
Normal file
@@ -0,0 +1,98 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///工装工具保养记录
|
||||
///</summary>
|
||||
[SugarTable("tool_maintain_log")]
|
||||
public partial class ToolMaintainLog
|
||||
{
|
||||
public ToolMaintainLog(){
|
||||
|
||||
|
||||
}
|
||||
/// <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 tool_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:保养内容
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? content {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;}
|
||||
|
||||
}
|
||||
}
|
||||
133
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModel.cs
Normal file
133
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModel.cs
Normal file
@@ -0,0 +1,133 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///工装工具型号
|
||||
///</summary>
|
||||
[SugarTable("tool_model")]
|
||||
public partial class ToolModel
|
||||
{
|
||||
public ToolModel(){
|
||||
|
||||
|
||||
}
|
||||
/// <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:True
|
||||
/// </summary>
|
||||
public int? warnuse_times {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:安全库存
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? safe_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:需保养
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int main_tenance {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? 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;}
|
||||
|
||||
}
|
||||
}
|
||||
189
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModelCheckItem.cs
Normal file
189
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModelCheckItem.cs
Normal file
@@ -0,0 +1,189 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_model_check_item")]
|
||||
public partial class ToolModelCheckItem
|
||||
{
|
||||
public ToolModelCheckItem(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public long id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string toolmodel {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int seq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string checkitemcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string checkitemname {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? resulttype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int judgetype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? unit {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? limitlow {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? limithigh {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? standard {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
126
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModelCheckPeriod.cs
Normal file
126
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModelCheckPeriod.cs
Normal file
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_model_check_period")]
|
||||
public partial class ToolModelCheckPeriod
|
||||
{
|
||||
public ToolModelCheckPeriod(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public long id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string toolmodel {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tpcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
105
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModelEquip.cs
Normal file
105
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModelEquip.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///工装工具型号与设备绑定关系
|
||||
///</summary>
|
||||
[SugarTable("tool_model_equip")]
|
||||
public partial class ToolModelEquip
|
||||
{
|
||||
public ToolModelEquip(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:租户ID
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? tenant_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属组织
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? org_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:型号代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string model_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:设备代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string eqp_code {get;set;} = string.Empty;
|
||||
|
||||
/// <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;}
|
||||
|
||||
}
|
||||
}
|
||||
105
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModelItem.cs
Normal file
105
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolModelItem.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///工装工具型号与产品工序绑定关系
|
||||
///</summary>
|
||||
[SugarTable("tool_model_item")]
|
||||
public partial class ToolModelItem
|
||||
{
|
||||
public ToolModelItem(){
|
||||
|
||||
|
||||
}
|
||||
/// <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 model_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string item_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工艺路线代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? route_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工艺路线版本
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? route_version {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工序代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? process_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:数量
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:树形
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int pertimes {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:损失率
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? lossrate {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:时间戳
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///
|
||||
///模具保养项目组
|
||||
///</summary>
|
||||
[SugarTable("tool_mold_maintain_group")]
|
||||
public partial class ToolMoldMaintainGroup
|
||||
@@ -21,18 +22,18 @@ namespace Tnb.EquipMgr.Entities
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;}
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:项目组名称
|
||||
/// Default:
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? name {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:保养类型
|
||||
/// Default:
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? service_type {get;set;}
|
||||
@@ -40,13 +41,13 @@ namespace Tnb.EquipMgr.Entities
|
||||
/// <summary>
|
||||
/// Desc:描述
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string? describe {get;set;}
|
||||
public string describe {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建人
|
||||
/// Default:
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? create_id {get;set;}
|
||||
|
||||
@@ -1,30 +1,43 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
using Tnb.Common.Contracts;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///
|
||||
///模具保养项目组与保养项关系
|
||||
///</summary>
|
||||
[SugarTable("tool_mold_maintain_group_item")]
|
||||
public partial class ToolMoldMaintainGroupItem : BaseEntity<string>
|
||||
public partial class ToolMoldMaintainGroupItem
|
||||
{
|
||||
public ToolMoldMaintainGroupItem(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:项目组id
|
||||
/// Desc:主键
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string item_group_id { get; set; }
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:项目组id
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? item_group_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:保养项id
|
||||
/// Default:
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? item_id { get; set; }
|
||||
public string? item_id {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,31 +1,43 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
using Tnb.Common.Contracts;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///
|
||||
///模具保养组与磨具关联
|
||||
///</summary>
|
||||
[SugarTable("tool_mold_maintain_group_relation")]
|
||||
public partial class ToolMoldMaintainGroupRelation :BaseEntity<string>
|
||||
public partial class ToolMoldMaintainGroupRelation
|
||||
{
|
||||
public ToolMoldMaintainGroupRelation(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:主键
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:项目组Id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string item_group_id {get;set;}
|
||||
public string item_group_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具Id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string mold_id {get;set;}
|
||||
public string mold_id {get;set;} = string.Empty;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
@@ -21,7 +22,7 @@ namespace Tnb.EquipMgr.Entities
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;}
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:保养方式
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
@@ -21,21 +22,21 @@ namespace Tnb.EquipMgr.Entities
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;}
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:保养规则id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string rule_id {get;set;}
|
||||
public string rule_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string mold_id {get;set;}
|
||||
public string mold_id {get;set;} = string.Empty;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,192 +1,199 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
using Tnb.Common.Contracts;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities.Entity
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///模具信息表
|
||||
///</summary>
|
||||
[SugarTable("tool_molds")]
|
||||
public partial class ToolMolds : BaseEntity<string>
|
||||
public partial class ToolMolds
|
||||
{
|
||||
public ToolMolds()
|
||||
{
|
||||
public ToolMolds(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:模穴数
|
||||
/// 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 int? mold_cavity { get; set; }
|
||||
public string? mold_code {get;set;}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Desc:生产模数
|
||||
/// Desc:模具名称
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? mold_name {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:物料Id
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? material_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:设备Id
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? eqp_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:设备代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? eqp_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:生产模数
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? production_modulus { get; set; }
|
||||
public int? production_modulus {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:日定额
|
||||
/// Desc:保养模次
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? daily_rate { get; set; }
|
||||
public int? maintain_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:工时定额(H/PCS)
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? hour_norm { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:成长周期
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? growth_cycle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具寿命
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? mold_life { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具编号
|
||||
/// Desc:磨具使用状态
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string mold_code { get; set; }
|
||||
public string? mold_status {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具名称
|
||||
/// Default:NULL::character varying
|
||||
/// Desc:日定额
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string mold_name { get; set; }
|
||||
public decimal? daily_rate {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:设备Id
|
||||
/// Default:NULL::character varying
|
||||
/// Desc:工时定额(H/PCS)
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string eqp_id { get; set; }
|
||||
public decimal? hour_norm {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:设备代码
|
||||
/// Default:NULL::character varying
|
||||
/// Desc:成长周期
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string eqp_code { get; set; }
|
||||
public int? growth_cycle {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:磨具使用状态
|
||||
/// Default:NULL::character varying
|
||||
/// Desc:型腔数
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string mold_status { get; set; }
|
||||
public int? cavity_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:保养模次
|
||||
/// Desc:模具寿命
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? maintain_qty { get; set; }
|
||||
public int? mold_life {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:型腔数
|
||||
/// Desc:模具剩余寿命
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? mold_remaining_life {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:库房编号
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? warehosue_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:库位编号
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? location_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? cavity_qty { get; set; }
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// 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;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模穴数
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
public int? mold_cavity {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改时间
|
||||
/// Default:
|
||||
/// Desc:模具型号
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:扩展字段
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string extras { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具剩余寿命
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string mold_remaining_life { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:库房编号
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string warehosue_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:库位编号
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string location_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具型号
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string mold_type_code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:物料Id
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string material_id { get; set; }
|
||||
public string? mold_type_code {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,63 +1,72 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
using Tnb.Common.Contracts;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities.Entity
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
//<summary>
|
||||
///<summary>
|
||||
///模具设备关联表
|
||||
///</summary>
|
||||
[SugarTable("tool_molds_equipment")]
|
||||
public partial class ToolMoldsEquipment : BaseEntity<string>
|
||||
public partial class ToolMoldsEquipment
|
||||
{
|
||||
public ToolMoldsEquipment() { }
|
||||
public ToolMoldsEquipment(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string mold_id { get; set; }
|
||||
public string mold_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:设备编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string equipment_id { get; set; }
|
||||
public string equipment_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string create_id { get; set; }
|
||||
public string? create_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime create_time { get; set; }
|
||||
public DateTime create_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string modify_id { get; set; }
|
||||
public string? modify_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
public DateTime? modify_time {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,78 +1,87 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
using Tnb.Common.Contracts;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities.Entity
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///模具产品关联表
|
||||
///</summary>
|
||||
[SugarTable("tool_molds_product")]
|
||||
public partial class ToolMoldsProduct : BaseEntity<string>
|
||||
public partial class ToolMoldsProduct
|
||||
{
|
||||
public ToolMoldsProduct()
|
||||
{
|
||||
public ToolMoldsProduct(){
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:模具编号
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string mold_id { get; set; }
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品编号
|
||||
/// Desc:模具编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string product_id { get; set; }
|
||||
public string mold_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// Desc:产品编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime create_time { get; set; }
|
||||
public string product_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string create_id { get; set; }
|
||||
public string? create_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime create_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string modify_id { get; set; }
|
||||
public string? modify_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
public DateTime? modify_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:实际使用型腔数
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? real_cavity_qty { get; set; }
|
||||
public int? real_cavity_qty {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品同组标识
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string product_group { get; set; }
|
||||
public string? product_group {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
98
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolRack.cs
Normal file
98
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolRack.cs
Normal file
@@ -0,0 +1,98 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///货架
|
||||
///</summary>
|
||||
[SugarTable("tool_rack")]
|
||||
public partial class ToolRack
|
||||
{
|
||||
public ToolRack(){
|
||||
|
||||
|
||||
}
|
||||
/// <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 rack_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:区域Id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string region_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:货架层数
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int layers {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;}
|
||||
|
||||
}
|
||||
}
|
||||
105
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolRegion.cs
Normal file
105
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolRegion.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///仓库区域
|
||||
///</summary>
|
||||
[SugarTable("tool_region")]
|
||||
public partial class ToolRegion
|
||||
{
|
||||
public ToolRegion(){
|
||||
|
||||
|
||||
}
|
||||
/// <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:仓库ID
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string wh_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:区域代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string region_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:区域名称
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string region_name {get;set;} = string.Empty;
|
||||
|
||||
/// <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;}
|
||||
|
||||
}
|
||||
}
|
||||
98
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolToolType.cs
Normal file
98
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolToolType.cs
Normal file
@@ -0,0 +1,98 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///工装工具类型
|
||||
///</summary>
|
||||
[SugarTable("tool_tool_type")]
|
||||
public partial class ToolToolType
|
||||
{
|
||||
public ToolToolType(){
|
||||
|
||||
|
||||
}
|
||||
/// <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 type_name {get;set;} = string.Empty;
|
||||
|
||||
/// <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;}
|
||||
|
||||
}
|
||||
}
|
||||
126
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolToolTypeCheckPeriod.cs
Normal file
126
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolToolTypeCheckPeriod.cs
Normal file
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_tool_type_check_period")]
|
||||
public partial class ToolToolTypeCheckPeriod
|
||||
{
|
||||
public ToolToolTypeCheckPeriod(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public long id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tooltype {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tpcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
189
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolToolTypeChekItem.cs
Normal file
189
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolToolTypeChekItem.cs
Normal file
@@ -0,0 +1,189 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///TODO
|
||||
///</summary>
|
||||
[SugarTable("tool_tool_type_chek_item")]
|
||||
public partial class ToolToolTypeChekItem
|
||||
{
|
||||
public ToolToolTypeChekItem(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public long id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? tenantid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string tooltype {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int seq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string checkitemcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string checkitemname {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? resulttype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int judgetype {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? unit {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? limitlow {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? limithigh {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public decimal? standard {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute1 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute2 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? attribute3 {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? lastmodificationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? lastmodifieruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? lastmodifierfullname {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime creationtime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public long? creatoruserid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:TODO
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? creatorfullname {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
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;}
|
||||
|
||||
}
|
||||
}
|
||||
119
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolToolsLog.cs
Normal file
119
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolToolsLog.cs
Normal file
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///工装工具领退废记录
|
||||
///</summary>
|
||||
[SugarTable("tool_tools_log")]
|
||||
public partial class ToolToolsLog
|
||||
{
|
||||
public ToolToolsLog(){
|
||||
|
||||
|
||||
}
|
||||
/// <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 tool_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:"状态: 10-入库 20-领用 30-退还 40-安装 50-卸载 90-报废"
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int biz_type {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:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? operation_name {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;}
|
||||
|
||||
}
|
||||
}
|
||||
105
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolWarehouse.cs
Normal file
105
EquipMgr/Tnb.EquipMgr.Entities/Entity/ToolWarehouse.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.EquipMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///库房资料
|
||||
///</summary>
|
||||
[SugarTable("tool_warehouse")]
|
||||
public partial class ToolWarehouse
|
||||
{
|
||||
public ToolWarehouse(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属组织ID
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? orgid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:库房代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string whcode {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:库房名称
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string whname {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属部门
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? departmentid {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