2026-06-01 17:59:23 +08:00
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///用户勋章表
|
|
|
|
|
///</summary>
|
2026-06-02 17:58:10 +08:00
|
|
|
[SugarTable("UserMedal")]
|
|
|
|
|
public partial class UserMedal : SqlSugarBaseEntity
|
2026-06-01 17:59:23 +08:00
|
|
|
{
|
2026-06-02 17:58:10 +08:00
|
|
|
public UserMedal(){
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:用户Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long UserId {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:勋章Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int MedalId {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:获得时间
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime? AwardedAt {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:勋章记录类型
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:True
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Type {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:状态: Awarded, Revoked
|
|
|
|
|
/// Default:Awarded
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Status {get;set;}
|
|
|
|
|
}
|
|
|
|
|
}
|