工艺管理
This commit is contained in:
8
PerMgr/Tnb.PerMgr.Entities/Consts/ModuleConsts.cs
Normal file
8
PerMgr/Tnb.PerMgr.Entities/Consts/ModuleConsts.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Tnb.PerMgr;
|
||||
|
||||
public class ModuleConsts
|
||||
{
|
||||
public const string Tag = "PerMgr";
|
||||
public const string Area = "per";
|
||||
|
||||
}
|
||||
11
PerMgr/Tnb.PerMgr.Entities/Dto/ProcessParamOutput.cs
Normal file
11
PerMgr/Tnb.PerMgr.Entities/Dto/ProcessParamOutput.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Tnb.PerMgr.Entities.Dto
|
||||
{
|
||||
public class ProcessParamOutput
|
||||
{
|
||||
public string name { get; set; }
|
||||
|
||||
public decimal upper_value { get; set; }
|
||||
|
||||
public decimal lower_value { get; set; }
|
||||
}
|
||||
}
|
||||
72
PerMgr/Tnb.PerMgr.Entities/Entity/PerProcessParam.cs
Normal file
72
PerMgr/Tnb.PerMgr.Entities/Entity/PerProcessParam.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.PerMgr.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 工艺参数
|
||||
/// </summary>
|
||||
[SugarTable("per_process_param")]
|
||||
public partial class PerProcessParam : BaseEntity<string>
|
||||
{
|
||||
public PerProcessParam()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 公差类别id
|
||||
/// </summary>
|
||||
public string tolerance_category_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 工艺参数类型id
|
||||
/// </summary>
|
||||
public string process_param_type_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
public long ordinal { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string? create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
/// </summary>
|
||||
public string? modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属组织
|
||||
/// </summary>
|
||||
public string? org_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流程任务Id
|
||||
/// </summary>
|
||||
public string? f_flowtaskid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流程引擎Id
|
||||
/// </summary>
|
||||
public string? f_flowid { get; set; }
|
||||
|
||||
}
|
||||
67
PerMgr/Tnb.PerMgr.Entities/Entity/PerToleranceCategory.cs
Normal file
67
PerMgr/Tnb.PerMgr.Entities/Entity/PerToleranceCategory.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.PerMgr.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 公差类别
|
||||
/// </summary>
|
||||
[SugarTable("per_tolerance_category")]
|
||||
public partial class PerToleranceCategory : BaseEntity<string>
|
||||
{
|
||||
public PerToleranceCategory()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 类型 1 值 2百分比
|
||||
/// </summary>
|
||||
public string type { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 上限
|
||||
/// </summary>
|
||||
public decimal upper_value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下限
|
||||
/// </summary>
|
||||
public decimal lower_value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string? remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string? create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
/// </summary>
|
||||
public string? modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属组织
|
||||
/// </summary>
|
||||
public string? org_id { get; set; }
|
||||
|
||||
}
|
||||
17
PerMgr/Tnb.PerMgr.Entities/Tnb.PerMgr.Entities.csproj
Normal file
17
PerMgr/Tnb.PerMgr.Entities/Tnb.PerMgr.Entities.csproj
Normal file
@@ -0,0 +1,17 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\common\Tnb.Common\Tnb.Common.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Model" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user