diff --git a/Yi.Abp.Net8/module/digital-collectibles/Yi.Framework.DigitalCollectibles.Domain/Entities/InvitationCodeAggregateRoot.cs b/Yi.Abp.Net8/module/digital-collectibles/Yi.Framework.DigitalCollectibles.Domain/Entities/InvitationCodeAggregateRoot.cs new file mode 100644 index 00000000..6694cd5c --- /dev/null +++ b/Yi.Abp.Net8/module/digital-collectibles/Yi.Framework.DigitalCollectibles.Domain/Entities/InvitationCodeAggregateRoot.cs @@ -0,0 +1,31 @@ +using SqlSugar; +using Volo.Abp.Domain.Entities.Auditing; + +namespace Yi.Framework.DigitalCollectibles.Domain.Entities; + +[SugarTable("DC_InvitationCode")] +public class InvitationCodeAggregateRoot:FullAuditedAggregateRoot +{ + /// + /// 谁的邀请码 + /// + public Guid UserId { get; set; } + + /// + /// 是否填写了邀请码(是否被邀请) + /// + public bool IsInvited { get; set; } + + + /// + /// 积分-邀请数量 + /// + public int PointsNumber { get; set; } + + + //不做记录 + // /// + // /// 邀请者的id + // /// + // public Guid InviterUserId{ get; set; } +} \ No newline at end of file