You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1019 B
C#
45 lines
1019 B
C#
using FreeSql.DataAnnotations;
|
|
using Newtonsoft.Json;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace djy.Model.Ams
|
|
{
|
|
[JsonObject(MemberSerialization.OptIn), Table(Name = "CodeDangerGrade", DisableSyncStructure = true)]
|
|
public class CodeDangerGrade
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
|
|
|
|
[JsonProperty, Column(IsPrimary = true, IsNullable = false)]
|
|
[MaxLength(36)]
|
|
public string GID { get; set; }
|
|
|
|
[MaxLength(20)]
|
|
public string Code { get; set; }
|
|
|
|
[MaxLength(20)]
|
|
public string Grade { get; set; }
|
|
|
|
[MaxLength(500)]
|
|
public string Description { get; set; }
|
|
|
|
[MaxLength(500)]
|
|
public string Remark { get; set; }
|
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
public DateTime? ModifyTime { get; set; }
|
|
|
|
[MaxLength(36)]
|
|
public string CreateUser { get; set; }
|
|
|
|
[MaxLength(36)]
|
|
public string ModifyUser { get; set; }
|
|
}
|
|
}
|