pad端andon相关接口
This commit is contained in:
48
ProductionMgr/Tnb.ProductionMgr.Entities/Entity/AndonInfo.cs
Normal file
48
ProductionMgr/Tnb.ProductionMgr.Entities/Entity/AndonInfo.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities.Entity
|
||||
{
|
||||
[SugarTable("andon_info")]
|
||||
public partial class AndonInfo : BaseEntity<string>
|
||||
{
|
||||
public AndonInfo()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
public string? region_name { get; set; }
|
||||
|
||||
public string? name { get; set; }
|
||||
|
||||
public string? push_rule_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 故障类别
|
||||
/// </summary>
|
||||
public string? andon_type { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 故障
|
||||
/// </summary>
|
||||
public string? breakdown_id { get; set; }
|
||||
public string? status { get; set; }
|
||||
public string? personnel { get; set; }
|
||||
public string? position { get; set; }
|
||||
public string? role { get; set; }
|
||||
public string? repair { get; set; }
|
||||
|
||||
public string? create_id { get; set; }
|
||||
public DateTime? create_time { get; set; }
|
||||
public string? modify_id { get; set; }
|
||||
public DateTime? modify_time { get; set; }
|
||||
public string? remark { get; set; }
|
||||
public string? send_config_id { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -36,5 +36,14 @@ namespace Tnb.ProductionMgr.Entities
|
||||
public string? modify_id { get; set; }
|
||||
public DateTime? modify_time { get; set; }
|
||||
public string? remark { get; set; }
|
||||
public string? andon_type_id { get; set; }
|
||||
public string? andon_info_id { get; set; }
|
||||
public string? repair_id { get; set; }
|
||||
|
||||
public DateTime? response_time { get; set; }
|
||||
public DateTime? start_repair_time { get; set; }
|
||||
public DateTime? end_repair_time { get; set; }
|
||||
public DateTime? confirm_time { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities
|
||||
{
|
||||
[SugarTable("andon_type")]
|
||||
public partial class AndonType : BaseEntity<string>
|
||||
{
|
||||
public AndonType()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string? name { get; set; }
|
||||
|
||||
public string? remark { get; set; }
|
||||
|
||||
public string? create_id { get; set; }
|
||||
public DateTime? create_time { get; set; }
|
||||
public string? modify_id { get; set; }
|
||||
public DateTime? modify_time { get; set; }
|
||||
/// <summary>
|
||||
/// 所属组织
|
||||
/// </summary>
|
||||
public string? org_id { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user