mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
21 lines
606 B
C#
21 lines
606 B
C#
using SqlSugar;
|
|
|
|
namespace EggLink.DanhengServer.Database.Gacha;
|
|
|
|
[SugarTable("Gacha")]
|
|
public class GachaData : BaseDatabaseDataHelper
|
|
{
|
|
[SugarColumn(IsJson = true)] public List<GachaInfo> GachaHistory { get; set; } = [];
|
|
|
|
public bool LastAvatarGachaFailed { get; set; } = false;
|
|
public bool LastWeaponGachaFailed { get; set; } = false;
|
|
public int LastGachaFailedCount { get; set; } = 0;
|
|
public int LastGachaPurpleFailedCount { get; set; } = 0;
|
|
}
|
|
|
|
public class GachaInfo
|
|
{
|
|
public int GachaId { get; set; }
|
|
public long Time { get; set; }
|
|
public int ItemId { get; set; }
|
|
} |