Files
OldThink/Content.Shared/Administration/BanList/SharedServerBan.cs
rhailrake 977e075086 [feat] Разделение банов по серверам.
# Conflicts:
#	Content.Client/Administration/UI/BanList/BanListLine.xaml.cs
#	Content.Client/Administration/UI/BanList/Bans/BanListHeader.xaml
#	Content.Client/Administration/UI/BanList/Bans/BanListLine.xaml
#	Content.Client/Administration/UI/Tabs/AdminTab/BanWindow.xaml
#	Content.Client/Administration/UI/Tabs/AdminTab/BanWindow.xaml.cs
#	Content.IntegrationTests/Tests/Commands/PardonCommand.cs
#	Content.Server/Administration/Commands/BanCommand.cs
#	Content.Server/Administration/Commands/DepartmentBanCommand.cs
#	Content.Server/Administration/Commands/RoleBanCommand.cs
#	Content.Server/Administration/Managers/RoleBanManager.cs
#	Content.Server/Database/ServerDbManager.cs
#	Content.Server/Database/ServerDbPostgres.cs
#	Content.Server/Database/ServerDbSqlite.cs
2024-01-12 23:59:08 +07:00

19 lines
436 B
C#

using Robust.Shared.Network;
using Robust.Shared.Serialization;
namespace Content.Shared.Administration.BanList;
[Serializable, NetSerializable]
public record SharedServerBan(
int? Id,
NetUserId? UserId,
(string address, int cidrMask)? Address,
string? HWId,
DateTime BanTime,
DateTime? ExpirationTime,
string Reason,
string? BanningAdminName,
SharedServerUnban? Unban,
string ServerName
);