using SqlSugar; using Volo.Abp.Domain.Entities.Auditing; using Yi.Framework.Core.Data; using Yi.Framework.DigitalCollectibles.Domain.Shared.Consts; namespace Yi.Framework.DigitalCollectibles.Domain.Entities; /// /// 数字藏品定义表 /// 用于定义数字藏品 /// [SugarTable("DC_Collectibles")] public class CollectiblesAggregateRoot:FullAuditedAggregateRoot,IOrderNum { /// /// 藏品编号 /// public string Code { get; set; } /// /// 藏品名称 /// public string Name { get; set; } /// /// 藏品描述 /// public string? Describe { get; set; } /// /// 价值数 /// public decimal ValueNumber { get; set; } /// /// 藏品地址 /// public string Url { get; set; } /// /// 稀有度 /// public RarityEnum Rarity{ get; set; } /// /// 总共出现次数 /// public int FindTotal { get; set; } /// /// 排序 /// public int OrderNum { get; set; } }