Files
tnb.server/PerMgr/Tnb.PerMgr.Entities/Entity/PerProcessParamEditRecord.cs
2023-06-08 17:36:22 +08:00

67 lines
1.5 KiB
C#

using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.PerMgr.Entities;
/// <summary>
/// 工艺参数设定值修改记录
/// </summary>
[SugarTable("per_process_param_edit_record")]
public partial class PerProcessParamEditRecord : BaseEntity<string>
{
public PerProcessParamEditRecord()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 工艺参数id
/// </summary>
public string process_param_id { get; set; } = string.Empty;
/// <summary>
/// 修改前值
/// </summary>
public decimal old_value { get; set; }
/// <summary>
/// 修改后值
/// </summary>
public decimal new_value { get; set; }
/// <summary>
/// 修改用户
/// </summary>
public string modify_id { get; set; } = string.Empty;
/// <summary>
/// 修改时间
/// </summary>
public DateTime modify_time { get; set; } = DateTime.Now;
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
/// <summary>
/// 工艺参数名
/// </summary>
public string? process_param_name { get; set; }
/// <summary>
/// 设备id
/// </summary>
public string equip_id { get; set; } = string.Empty;
/// <summary>
/// 流程任务Id
/// </summary>
public string? f_flowtaskid { get; set; }
/// <summary>
/// 流程引擎Id
/// </summary>
public string? f_flowid { get; set; }
}