ChouBox/ChouBox.Model/Entities/Coupon.cs
2025-04-23 19:20:23 +08:00

58 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
namespace ChouBox.Model.Entities;
/// <summary>
/// 优惠券表
/// </summary>
public partial class Coupon
{
public uint Id { get; set; }
/// <summary>
/// 1新人优惠券 2权益优惠卷
/// </summary>
public byte? Type { get; set; }
/// <summary>
/// 商品名称
/// </summary>
public string Title { get; set; } = null!;
/// <summary>
/// 排序值
/// </summary>
public uint? Sort { get; set; }
/// <summary>
/// 减多少
/// </summary>
public decimal? Price { get; set; }
/// <summary>
/// 满多少减多少
/// </summary>
public decimal? ManPrice { get; set; }
/// <summary>
/// 有效时间(天)
/// </summary>
public int? EffectiveDay { get; set; }
/// <summary>
/// 添加时间
/// </summary>
public uint Addtime { get; set; }
/// <summary>
/// 0上架 2下架 4已删除
/// </summary>
public bool Status { get; set; }
/// <summary>
/// 是否限制使用 0不限制 1一番赏 2无限赏 3擂台赏 6全局赏 9领主赏 9连击赏
/// </summary>
public byte? Ttype { get; set; }
}