工艺标准接口

This commit is contained in:
2023-06-06 17:14:58 +08:00
parent 1a576bee30
commit 2fc0dfc0bd
6 changed files with 233 additions and 0 deletions

View 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; }
}
}

View File

@@ -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; }
}
}

View 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; }
}