using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities;
///
/// 参数配置表
///
[SugarTable("bas_parameter")]
public partial class BasParameter : BaseEntity
{
public BasParameter()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 系统:WMS、MES
///
public string system_type { get; set; } = string.Empty;
///
/// 是否为静态变量,静态不显示
///
public int is_static { get; set; }
///
/// 参数类型
///
public string parameter_type { get; set; } = string.Empty;
///
/// 科目(模块)
///
public string section { get; set; } = string.Empty;
///
/// 参数键
///
public string key { get; set; } = string.Empty;
///
/// 参数值
///
public string value { get; set; } = string.Empty;
///
/// 默认参数值(参考值,不能修改)
///
public string? defaultvalue { get; set; }
///
/// 备注
///
public string? remark { get; set; }
///
/// 时间戳(用于并发处理)
///
public string? timestamp { get; set; }
///
/// 创建用户
///
public string? create_id { get; set; }
///
/// 创建时间
///
public DateTime create_time { get; set; } = DateTime.Now;
///
/// 修改用户
///
public string? modify_id { get; set; }
///
/// 修改时间
///
public DateTime? modify_time { get; set; }
///
/// 扩展字段
///
public string? extras { get; set; }
}