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.
 
 

52 lines
1.8 KiB

using FreeSql.DataAnnotations;
namespace Znyc.CloudCar.Model.Entities
{
/// <summary>
/// 充值活动表
/// </summary>
[Table(Name = "recharge_intro")]
public class RechargeIntroEntity : EntityBase
{
/// <summary>
/// 父级ID
/// </summary>
public long ParentId { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[Column(StringLength = 20)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“ProductName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string ProductName { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“ProductName”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
/// <summary>
/// 商品价值
/// </summary>
public int ProductValue { get; set; }
/// <summary>
/// 赠送价值
/// </summary>
public int SendValue { get; set; }
/// <summary>
/// 商品总价值
/// </summary>
public int AllValue { get; set; }
/// <summary>
/// 商品销售价
/// </summary>
public decimal Price { get; set; }
/// <summary>
/// 商品描述
/// </summary>
[Column(StringLength = 55)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Description”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Description { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Description”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
}
}