2023-12-11 09:55:12 +08:00
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
|
|
using Volo.Abp;
|
2023-12-11 22:14:13 +08:00
|
|
|
|
using Volo.Abp.Auditing;
|
2023-12-11 09:55:12 +08:00
|
|
|
|
|
2024-01-11 18:51:53 +08:00
|
|
|
|
namespace Yi.Framework.Bbs.Domain.Entities.Forum
|
2023-12-11 09:55:12 +08:00
|
|
|
|
{
|
|
|
|
|
|
[SugarTable("Plate")]
|
2024-05-22 14:35:08 +08:00
|
|
|
|
public class PlateAggregateRoot : AggregateRoot<Guid>, ISoftDelete, IAuditedObject
|
2023-12-11 09:55:12 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
|
|
|
|
|
|
public override Guid Id { get; protected set; }
|
2023-12-11 22:14:13 +08:00
|
|
|
|
|
|
|
|
|
|
public string Code { get; set; }
|
2023-12-11 09:55:12 +08:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public string? Logo { get; set; }
|
|
|
|
|
|
public string? Introduction { get; set; }
|
|
|
|
|
|
public bool IsDeleted { get; set; }
|
2023-12-11 22:14:13 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime CreationTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public Guid? CreatorId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public Guid? LastModifierId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime? LastModificationTime { get; set; }
|
2023-12-18 23:17:09 +08:00
|
|
|
|
|
|
|
|
|
|
public int OrderNum { get; set; }
|
2023-12-19 13:00:14 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否禁用创建主题,禁用后,只有管理员或者权限者能够发送
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool IsDisableCreateDiscuss { get; set; }
|
2023-12-11 09:55:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|