using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ChangkeTec.SDMS.Model.Base { public interface ITable { [Key] [Description("主键")] Guid GUID { get; set; } [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Description("自增长编号")] int UID { get; set; } [Description("创建人")] string CreateUser { get; set; } [Description("创建时间")] DateTime CreateTime { get; set; } [Description("备注")] string Remark { get; set; } } }