2023-12-11 09:55:12 +08:00
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
using Volo.Abp;
|
|
|
|
|
|
using Volo.Abp.Auditing;
|
|
|
|
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
|
|
|
2024-01-11 18:51:53 +08:00
|
|
|
|
namespace Yi.Framework.Bbs.Domain.Entities.Forum
|
2023-12-11 09:55:12 +08:00
|
|
|
|
{
|
|
|
|
|
|
[SugarTable("Banner")]
|
2024-05-22 14:35:08 +08:00
|
|
|
|
public class BannerAggregateRoot : AggregateRoot<Guid>, ISoftDelete, IAuditedObject
|
2023-12-11 09:55:12 +08:00
|
|
|
|
{
|
|
|
|
|
|
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
|
|
|
|
|
|
public override Guid Id { get; protected set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public string? Logo { get; set; }
|
|
|
|
|
|
public string? Color { 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; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|