using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Bussiness.Model.SystemData
{
///
/// 系统编码表
///
[Description("系统编码表")]
public class sys_code
{
///
/// 主键id
///
[Key]
[Description("主键id")]
public long sys_code_id { get; set; }
///
/// 编码生成名称
///
[StringLength(50)]
[Required]
[Description("编码生成名称")]
public string? code_name { get; set; }
///
/// 编码生成规则
///
[Required]
[StringLength(50)]
[Description("编码生成规则")]
public string? code_rule { get; set; }
///
/// 编码生成时间
///
[Required]
[Description("编码生成时间")]
public DateTime code_date { get; set; }
///
/// 编码生成当前值
///
[Required]
[Description("编码生成当前值")]
public long code_value { get; set; }
///
/// 中文注释
///
[StringLength(255)]
[Description("中文注释")]
public string chinese_name { get; set; }
}
}