style: 修改聚合跟类命名
This commit is contained in:
@@ -14,13 +14,13 @@ namespace Yi.Framework.Bbs.Domain.Entities.Bank
|
||||
/// 银行卡
|
||||
/// </summary>
|
||||
[SugarTable("BankCard")]
|
||||
public class BankCardEntity : Entity<Guid>, IHasCreationTime
|
||||
public class BankCardAggregateRoot : AggregateRoot<Guid>, IHasCreationTime
|
||||
{
|
||||
public BankCardEntity()
|
||||
public BankCardAggregateRoot()
|
||||
{
|
||||
}
|
||||
|
||||
public BankCardEntity(Guid userId)
|
||||
public BankCardAggregateRoot(Guid userId)
|
||||
{
|
||||
this.UserId = userId;
|
||||
}
|
||||
@@ -13,11 +13,11 @@ namespace Yi.Framework.Bbs.Domain.Entities.Bank
|
||||
/// 利息记录
|
||||
/// </summary>
|
||||
[SugarTable("InterestRecords")]
|
||||
public class InterestRecordsEntity : Entity<Guid>, IHasCreationTime
|
||||
public class InterestRecordsAggregateRoot : AggregateRoot<Guid>, IHasCreationTime
|
||||
{
|
||||
public InterestRecordsEntity()
|
||||
public InterestRecordsAggregateRoot()
|
||||
{ }
|
||||
public InterestRecordsEntity(decimal comparisonValue, decimal inputValue, bool isFluctuate = false)
|
||||
public InterestRecordsAggregateRoot(decimal comparisonValue, decimal inputValue, bool isFluctuate = false)
|
||||
{
|
||||
ComparisonValue = comparisonValue;
|
||||
Value = inputValue;
|
||||
Reference in New Issue
Block a user