Files
tnb.server/BasicData/Tnb.BasicData.Entities/Entity/BasParameter.cs
2023-05-18 18:15:38 +08:00

93 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
/// <summary>
/// 参数配置表
/// </summary>
[SugarTable("bas_parameter")]
public partial class BasParameter : BaseEntity<string>
{
public BasParameter()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
/// <summary>
/// 系统WMS、MES
/// </summary>
public string system_type { get; set; } = string.Empty;
/// <summary>
/// 是否为静态变量,静态不显示
/// </summary>
public int is_static { get; set; }
/// <summary>
/// 参数类型
/// </summary>
public string parameter_type { get; set; } = string.Empty;
/// <summary>
/// 科目(模块)
/// </summary>
public string section { get; set; } = string.Empty;
/// <summary>
/// 参数键
/// </summary>
public string key { get; set; } = string.Empty;
/// <summary>
/// 参数值
/// </summary>
public string value { get; set; } = string.Empty;
/// <summary>
/// 默认参数值(参考值,不能修改)
/// </summary>
public string? defaultvalue { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? remark { get; set; }
/// <summary>
/// 时间戳(用于并发处理)
/// </summary>
public string? timestamp { get; set; }
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime create_time { get; set; } = DateTime.Now;
/// <summary>
/// 修改用户
/// </summary>
public string? modify_id { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public DateTime? modify_time { get; set; }
/// <summary>
/// 扩展字段
/// </summary>
public string? extras { get; set; }
}