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.
 
 

66 lines
2.7 KiB

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