using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Model.Entities { public class TSYS_Post { [Key] public Guid G_ID { get; set; } = Guid.NewGuid(); [Required] [MaxLength(20)] public string C_Code { get; set; } [Required] [MaxLength(50)] public string C_Name { get; set; } [Required] public int I_Sort { get; set; } [MaxLength(100)] public string C_Remark { get; set; } [Required] public Guid G_CreateBy { get; set; } [Required] public DateTime D_CreateOn { get; set; } public Guid G_LastUpdatedBy { get; set; } public DateTime D_LastUpdatedOn { get; set; } [Required] [MaxLength(1)] public string C_Status { get; set; } } }