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.
62 lines
2.9 KiB
62 lines
2.9 KiB
using FreeSql.DataAnnotations;
|
|
|
|
namespace Znyc.CloudCar.Model.Entities
|
|
{
|
|
/// <summary>
|
|
/// 云币来源
|
|
/// </summary>
|
|
[Table(Name = "rm_currency_intro")]
|
|
public class CurrencyIntroEntity : EntityBase
|
|
{
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Code”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
[Column(StringLength = 15)] public string Code { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Code”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 标题
|
|
/// </summary>
|
|
[Column(StringLength = 12)]
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Title”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
public string Title { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Title”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 按钮文字
|
|
/// </summary>
|
|
[Column(StringLength = 3)]
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“ButtonText”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
public string ButtonText { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“ButtonText”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 内容
|
|
/// </summary>
|
|
[Column(StringLength = 20)]
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Content”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
public string Content { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Content”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 图标
|
|
/// </summary>
|
|
[Column(StringLength = 90)]
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Icon”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
public string Icon { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Icon”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 积分数
|
|
/// </summary>
|
|
public decimal Score { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否可点
|
|
/// </summary>
|
|
public bool IsClick { get; set; }
|
|
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public int Sort { get; set; }
|
|
}
|
|
}
|