using NPin.Framework.SqlSugarCore.Abstractions.Data; using SqlSugar; using Volo.Abp.Auditing; using Volo.Abp.Domain.Entities; namespace NPin.Framework.Upms.Domain.Entities; [SugarTable("announcement", "系统公告表")] public class AnnouncementEntity : Entity, ISoftDelete, IAuditedObject, IOrderNum, IEnabled { [SugarColumn(IsPrimaryKey = true)] public override Guid Id { get; protected set; } [SugarColumn(ColumnDescription = "公告标题")] public string Title { get; set; } [SugarColumn(ColumnDescription = "公告分类")] public string Category { get; set; } [SugarColumn(ColumnDescription = "公告行为")] public string Action { get; set; } [SugarColumn(ColumnDescription = "公告内容", ColumnDataType = StaticConfig.CodeFirst_BigString)] public string Content { get; set; } public bool IsDeleted { get; } public DateTime CreationTime { get; } public Guid? CreatorId { get; } public DateTime? LastModificationTime { get; } public Guid? LastModifierId { get; } public int OrderNum { get; set; } public bool IsEnabled { get; set; } }