Merge branch 'refs/heads/abp' into digital-collectibles
This commit is contained in:
@@ -8,9 +8,12 @@ namespace Yi.Framework.Bbs.Domain.Entities.Forum
|
||||
{
|
||||
[SugarTable("Discuss")]
|
||||
[SugarIndex($"index_{nameof(Title)}", nameof(Title), OrderByType.Asc)]
|
||||
[SugarIndex($"index_{nameof(PlateId)}", nameof(PlateId), OrderByType.Asc)]
|
||||
[SugarIndex($"index_{nameof(CreatorId)}", nameof(CreatorId), OrderByType.Asc)]
|
||||
[SugarIndex($"index_{nameof(CreationTime)}", nameof(CreationTime), OrderByType.Desc)]
|
||||
[SugarIndex($"index_{nameof(IsDeleted)}_{nameof(PlateId)}_{nameof(CreatorId)}",
|
||||
nameof(IsDeleted), OrderByType.Asc,
|
||||
nameof(PlateId), OrderByType.Asc,
|
||||
nameof(CreatorId), OrderByType.Asc
|
||||
)]
|
||||
public class DiscussAggregateRoot : AggregateRoot<Guid>, ISoftDelete, IAuditedObject
|
||||
{
|
||||
public DiscussAggregateRoot()
|
||||
|
||||
Reference in New Issue
Block a user