mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-08-16 03:31:43 +02:00
.config
.run
.workdir
Agent
Common
Controller
Phantom.Controller
Phantom.Controller.Database
Converters
Entities
AgentEntity.cs
AuditLogEntity.cs
EventLogEntity.cs
InstanceEntity.cs
PermissionEntity.cs
RoleEntity.cs
RolePermissionEntity.cs
UserAgentAccessEntity.cs
UserEntity.cs
UserPermissionEntity.cs
UserRoleEntity.cs
Factories
Repositories
ApplicationDbContext.cs
DatabaseMigrator.cs
IDbContextProvider.cs
ILazyDbContext.cs
Phantom.Controller.Database.csproj
Phantom.Controller.Database.Postgres
Phantom.Controller.Minecraft
Phantom.Controller.Services
Docker
Utils
Web
.dockerignore
.gitattributes
.gitignore
AddMigration.bat
AddMigration.sh
Directory.Build.props
Directory.Build.targets
Dockerfile
LICENSE
Packages.props
PhantomPanel.sln
README.md
global.json
15 lines
390 B
C#
15 lines
390 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Phantom.Controller.Database.Entities;
|
|
|
|
[Table("UserAgentAccess", Schema = "identity")]
|
|
public sealed class UserAgentAccessEntity {
|
|
public Guid UserGuid { get; init; }
|
|
public Guid AgentGuid { get; init; }
|
|
|
|
public UserAgentAccessEntity(Guid userGuid, Guid agentGuid) {
|
|
UserGuid = userGuid;
|
|
AgentGuid = agentGuid;
|
|
}
|
|
}
|