2026-06-01 17:59:23 +08:00
|
|
|
using SqlSugar;
|
2026-06-08 16:57:44 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Enum;
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.Models.Entity
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///宠物喂养记录表
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("PetFeedingRecord")]
|
2026-06-02 14:10:43 +08:00
|
|
|
public partial class PetFeedingRecord : SqlSugarBaseEntity
|
2026-06-01 17:59:23 +08:00
|
|
|
{
|
|
|
|
|
public PetFeedingRecord(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2026-06-02 14:10:43 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:宠物Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long PetId {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:用户Id
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long UserId {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:消耗积分
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int PointsUsed {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:成长值变化量
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int GrowthChange {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:喂养前成长值
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int GrowthBefore {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:喂养后成长值
|
|
|
|
|
/// Default:
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int GrowthAfter {get;set;}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Desc:喂养类型: Normal, Special
|
|
|
|
|
/// Default:Normal
|
|
|
|
|
/// Nullable:False
|
|
|
|
|
/// </summary>
|
2026-06-08 16:57:44 +08:00
|
|
|
public PetFeedingRecordTypeEnum Type {get;set;}
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|