重新生成实体类
This commit is contained in:
@@ -1,133 +1,92 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.BasicData.Entities
|
||||
namespace Tnb.BasicData.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 参数配置表
|
||||
/// </summary>
|
||||
[SugarTable("bas_parameter")]
|
||||
public partial class BasParameter : BaseEntity<string>
|
||||
{
|
||||
///<summary>
|
||||
///参数配置表
|
||||
///</summary>
|
||||
[SugarTable("bas_parameter")]
|
||||
public partial class BasParameter
|
||||
public BasParameter()
|
||||
{
|
||||
public BasParameter(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属组织
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? org_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:系统:WMS、MES
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string system_type {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否为静态变量,静态不显示
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int is_static {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:参数类型
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string parameter_type {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:科目(模块)
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string section {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:参数键
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string key {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:参数值
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string value {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:默认参数值(参考值,不能修改)
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? defaultvalue {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:时间戳(用于并发处理)
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? timestamp {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? create_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime create_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改用户
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? modify_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:修改时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? modify_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:扩展字段
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? extras {get;set;}
|
||||
|
||||
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; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user