using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using Volo.Abp.Auditing; using Volo.Abp.Domain.Entities; using Yi.Framework.Core.Data; using Yi.Framework.Rbac.Domain.Shared.Enums; namespace Yi.Framework.Rbac.Domain.Entities { [SugarTable("Notice")] public class NoticeAggregateRoot : AggregateRoot, ISoftDelete, IAuditedObject, IOrderNum, IState { [SugarColumn(IsPrimaryKey = true)] public override Guid Id { get; protected set; } /// /// 公告标题 /// public string Title { get; set; } /// /// 类型 /// public NoticeTypeEnum Type { get; set; } /// /// 内容 /// [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString)] public string Content { get; set; } public bool IsDeleted { get; set; } public DateTime CreationTime { get; set; } public Guid? CreatorId { get; set; } public Guid? LastModifierId { get; set; } public DateTime? LastModificationTime { get; set; } public int OrderNum { get; set; } public bool State { get; set; } } }