工艺标准接口
This commit is contained in:
13
PerMgr/Tnb.PerMgr.Entities/Dto/ProcessChildDataInput.cs
Normal file
13
PerMgr/Tnb.PerMgr.Entities/Dto/ProcessChildDataInput.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Tnb.PerMgr.Entities.Dto
|
||||
{
|
||||
public class ProcessChildDataInput
|
||||
{
|
||||
|
||||
public string process_standards_id { get; set; }
|
||||
/// <summary>
|
||||
/// 工艺参数id
|
||||
/// </summary>
|
||||
public string process_param_id { get; set; }
|
||||
public decimal value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace Tnb.PerMgr.Entities.Dto
|
||||
{
|
||||
public class ProcessParamTypeChildrenOutput
|
||||
{
|
||||
/// <summary>
|
||||
/// 工艺标准子表id
|
||||
/// </summary>
|
||||
public string id { get; set; }
|
||||
/// <summary>
|
||||
/// 工艺参数id
|
||||
/// </summary>
|
||||
public string process_param_id { get; set; }
|
||||
public string name { get; set; }
|
||||
public decimal? value { get; set; }
|
||||
public decimal upper_value { get; set; }
|
||||
public decimal lower_value { get; set; }
|
||||
}
|
||||
}
|
||||
42
PerMgr/Tnb.PerMgr.Entities/Entity/PerProcessStandardsD.cs
Normal file
42
PerMgr/Tnb.PerMgr.Entities/Entity/PerProcessStandardsD.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.PerMgr.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 工艺标准子表
|
||||
/// </summary>
|
||||
[SugarTable("per_process_standards_d")]
|
||||
public partial class PerProcessStandardsD : BaseEntity<string>
|
||||
{
|
||||
public PerProcessStandardsD()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 工艺标准主表id
|
||||
/// </summary>
|
||||
public string process_standards_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 工艺参数id
|
||||
/// </summary>
|
||||
public string process_param_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 设定值
|
||||
/// </summary>
|
||||
public decimal value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上限
|
||||
/// </summary>
|
||||
public decimal? upper_value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下限
|
||||
/// </summary>
|
||||
public decimal? lower_value { get; set; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user