You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
2 years ago
|
using FreeSql.DataAnnotations;
|
||
|
|
||
|
namespace Znyc.CloudCar.Model.Entities
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 云币表
|
||
|
/// </summary>
|
||
|
[Table(Name = "currency")]
|
||
|
public class CurrencyEntity : EntityBase
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 用户Id
|
||
|
/// </summary>
|
||
|
public long UserId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 可用云币
|
||
|
/// </summary>
|
||
|
public int AvailableCurrency { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 正式云币
|
||
|
/// </summary>
|
||
|
public int OfficialCurrency { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 临时云币
|
||
|
/// </summary>
|
||
|
public int TemporarylCurrency { get; set; }
|
||
|
|
||
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“CurrencyRecord”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
||
|
public CurrencyRecordEntity CurrencyRecord { get; set; }
|
||
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“CurrencyRecord”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
||
|
}
|
||
|
}
|