mirror of
https://gitee.com/xiarenalofs/squad-rain-ops-mini.git
synced 2026-08-05 13:05:52 +08:00
40 lines
979 B
C#
40 lines
979 B
C#
namespace RainOpsMini.Models
|
|
{
|
|
public class GenerateCdkRequest
|
|
{
|
|
public string Type { get; set; } = "VIP";
|
|
public int DurationDays { get; set; } = 30;
|
|
public int Count { get; set; } = 1;
|
|
public string Reason { get; set; } = "";
|
|
}
|
|
|
|
public class RedeemCdkRequest
|
|
{
|
|
public string Code { get; set; } = "";
|
|
public string SteamId { get; set; } = "";
|
|
}
|
|
|
|
public class DeleteCdkRequest
|
|
{
|
|
public List<string> Codes { get; set; } = new List<string>();
|
|
}
|
|
|
|
public class FrpConfigModel
|
|
{
|
|
public string Content { get; set; } = "";
|
|
}
|
|
|
|
public class FrpSettingsModel
|
|
{
|
|
public bool AutoRestartEnabled { get; set; }
|
|
public int RestartIntervalMinutes { get; set; }
|
|
}
|
|
|
|
public class BanRequest
|
|
{
|
|
public string SteamId { get; set; } = "";
|
|
public string Reason { get; set; } = "";
|
|
public string Duration { get; set; } = "";
|
|
}
|
|
}
|