22 lines
498 B
C#
22 lines
498 B
C#
namespace SepCore.Entity
|
|
{
|
|
public class CoinData : EntityDataBase
|
|
{
|
|
private int _value;
|
|
|
|
public CoinData(int value, int entityId, string assetName = "CoinEntity") : base(assetName, entityId)
|
|
{
|
|
_value = value;
|
|
}
|
|
|
|
public CoinData(int value, int entityId, int typeId) : this(value, entityId, "CoinEntity")
|
|
{
|
|
}
|
|
|
|
public int Value
|
|
{
|
|
get => _value;
|
|
set => _value = value;
|
|
}
|
|
}
|
|
} |