using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace XYY.Core.Standard { public class BaseEntity { /// /// 主键 /// [Key] public int Id { get; set; } /// /// 创建人 /// public string CreateUserName { get; set; } /// /// 创建时间 /// public DateTime? CreateTime { get; set; } /// /// 更新人 /// public string UpdateUserName { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } /// /// 备注 /// [DisplayName("备注")] public string Remark { get; set; } } }