feat: 新增矿池机制
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Reflection;
|
||||
using Yi.Framework.DigitalCollectibles.Domain.Shared.Consts;
|
||||
|
||||
namespace Yi.Framework.DigitalCollectibles.Domain.Shared.Attributes;
|
||||
|
||||
public class ProbabilityAttribute : Attribute
|
||||
{
|
||||
public double Value { get; set; }
|
||||
|
||||
public ProbabilityAttribute(double value)
|
||||
{
|
||||
this.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user