using System;
using System.Collections.Generic;
namespace HoneyBox.Model.Entities;
///
/// 商品主表,存储盲盒商品信息
///
public partial class Good
{
///
/// 商品ID
///
public int Id { get; set; }
///
/// 分类ID
///
public int CategoryId { get; set; }
///
/// 商品标题
///
public string Title { get; set; } = null!;
///
/// 商品图片URL
///
public string ImgUrl { get; set; } = null!;
///
/// 商品详情图片URL
///
public string ImgUrlDetail { get; set; } = null!;
///
/// 商品价格
///
public decimal Price { get; set; }
///
/// 总库存
///
public int Stock { get; set; }
///
/// 已售库存
///
public int SaleStock { get; set; }
///
/// 是否锁定 0-否 1-是
///
public byte LockIs { get; set; }
///
/// 锁定时间(秒)
///
public int? LockTime { get; set; }
///
/// 是否支持优惠券 0-否 1-是
///
public byte CouponIs { get; set; }
///
/// 优惠券比例
///
public int CouponPro { get; set; }
///
/// 是否支持积分 0-否 1-是
///
public byte IntegralIs { get; set; }
///
/// 奖品数量
///
public int PrizeNum { get; set; }
///
/// 状态 0-下架 1-上架
///
public byte Status { get; set; }
///
/// 排序值
///
public int Sort { get; set; }
///
/// 商品类型
///
public byte Type { get; set; }
///
/// 是否显示 0-否 1-是
///
public byte ShowIs { get; set; }
///
/// 显示价格
///
public string? ShowPrice { get; set; }
///
/// 奖品图片URL
///
public string? PrizeImgUrl { get; set; }
///
/// 卡片横幅图片
///
public string? CardBanner { get; set; }
///
/// 卡片设置JSON
///
public string? CardSet { get; set; }
///
/// 卡片公告
///
public string? CardNotice { get; set; }
///
/// 卡片数量
///
public int CardNum { get; set; }
///
/// 开售时间
///
public DateTime? SaleTime { get; set; }
///
/// 创建时间
///
public DateTime CreatedAt { get; set; }
///
/// 更新时间
///
public DateTime UpdatedAt { get; set; }
///
/// 删除时间
///
public DateTime? DeletedAt { get; set; }
///
/// 是否开启暴怒 0-否 1-是
///
public byte RageIs { get; set; }
///
/// 暴怒值
///
public int Rage { get; set; }
///
/// 物品卡片ID
///
public int ItemCardId { get; set; }
///
/// 是否开启灵珠 0-否 1-是
///
public byte LingzhuIs { get; set; }
///
/// 灵珠翻倍
///
public int LingzhuFan { get; set; }
///
/// 灵珠奖品等级ID
///
public int LingzhuShangId { get; set; }
///
/// 擂台王用户ID
///
public int KingUserId { get; set; }
///
/// 连击次数
///
public int LianJiNum { get; set; }
///
/// 连击奖品等级ID
///
public int LianJiShangId { get; set; }
///
/// 是否首折 0-否 1-是
///
public byte IsShouZhe { get; set; }
///
/// 是否新品 0-否 1-是
///
public byte NewIs { get; set; }
///
/// 商品描述
///
public string? GoodsDescribe { get; set; }
///
/// 全局限购数量
///
public int QuanjuXiangou { get; set; }
///
/// 每日限购数量
///
public int DailyXiangou { get; set; }
///
/// 日价格
///
public decimal DayPrice { get; set; }
///
/// 月价格
///
public decimal MouthPrice { get; set; }
///
/// 月支付价格
///
public decimal MouthPayPrice { get; set; }
///
/// 日支付价格
///
public decimal DayPayPrice { get; set; }
///
/// 用户等级限制 -1表示无限制
///
public int UserLv { get; set; }
///
/// 是否福利屋商品 0-否 1-是
///
public byte IsFlw { get; set; }
///
/// 福利屋开始时间
///
public DateTime? FlwStartTime { get; set; }
///
/// 福利屋结束时间
///
public DateTime? FlwEndTime { get; set; }
///
/// 开放时间
///
public DateTime? OpenTime { get; set; }
///
/// 是否开放 0-否 1-是
///
public byte IsOpen { get; set; }
///
/// 抽奖限制次数
///
public int ChoujiangXianzhi { get; set; }
///
/// 异步处理编码
///
public string? AsyncCode { get; set; }
///
/// 异步处理日期
///
public DateTime? AsyncDate { get; set; }
///
/// 是否自动下架 0-否 1-是
///
public byte IsAutoXiajia { get; set; }
///
/// 下架利润阈值
///
public int XiajiaLirun { get; set; }
///
/// 下架自动次数
///
public int XiajiaAutoCoushu { get; set; }
///
/// 下架金额阈值
///
public int XiajiaJine { get; set; }
///
/// 解锁金额
///
public decimal UnlockAmount { get; set; }
}