feat: add wechat mini program mall, check-in supplement and pet skin system
This commit implements a complete WeChat mini program mall and related features: 1. Add pet skin entity and backpack item type support 2. Add make-up check-in and missed date query functions 3. Implement mall product browsing, exchange and record query 4. Add backpack management and item usage (make-up card) 5. Add pet skin equipping function 6. Fix UserBag ItemId type from int to long 7. Adjust Dockerfile exposed port to 8080 8. Fix session cookie unprotect warning
This commit is contained in:
69
QYZH.InteractiveMagazine.Models/Entity/ExchangeRecord.cs
Normal file
69
QYZH.InteractiveMagazine.Models/Entity/ExchangeRecord.cs
Normal file
@ -0,0 +1,69 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace QYZH.InteractiveMagazine.Models.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品兑换记录表
|
||||
/// </summary>
|
||||
[SugarTable("ExchangeRecord")]
|
||||
public partial class ExchangeRecord : SqlSugarBaseEntity
|
||||
{
|
||||
public ExchangeRecord() { }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:用户Id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public long UserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:商品Id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:商品名称(快照)
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string ProductName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:商品类型(快照): MakeUpCard, PetBg
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string ProductType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:消耗积分
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int PointsCost { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:兑换后积分余额
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int PointsBalance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:兑换数量
|
||||
/// Default:1
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int Quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Desc:状态: Success, Refunded
|
||||
/// Default:Success
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public new string Status { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user