using FreeSql.DataAnnotations;
namespace Znyc.CloudCar.Model.Entities
{
[Table(Name = "card_intro")]
public class CardIntroEntity : EntityBase
{
///
/// 卡名称
///
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“ApiUrl”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
[Column(StringLength = 15)] public string CardName { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“ApiUrl”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 卡价值
///
public int CardValue { get; set; }
///
/// 赠送价值
///
public int SendValue { get; set; }
///
/// 时效
///
public int Aging { get; set; }
///
/// 时效描述
///
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“AuthKey”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
[Column(StringLength = 55)] public string AgingDesc { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“AuthKey”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 免费次数
///
public int FreeNumber { get; set; }
///
/// 卡描述
///
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“AuthValue”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
[Column(StringLength = 55)] public string Description { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“AuthValue”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 赠送描述
///
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“AuthValue”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
[Column(StringLength = 55)] public string SendDesc { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“AuthValue”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 排序
///
public int Sort { get; set; }
///
/// 状态
///
public int State { get; set; }
}
}