v1.0
This commit is contained in:
15
ProjectManager.Backend/Entities/Project.cs
Normal file
15
ProjectManager.Backend/Entities/Project.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace ProjectManager.Backend.Entities;
|
||||
|
||||
public class Project {
|
||||
public string ProjectId { get; set; }
|
||||
public string OwnerId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int Port { get; set; }
|
||||
public string ContainerName { get; set; }
|
||||
public int ProxyId { get; set; } = -1;
|
||||
public int CertificateId { get; set; } = -1;
|
||||
}
|
||||
|
||||
public class ProjectEdit {
|
||||
public string Name { get; set; }
|
||||
}
|
||||
9
ProjectManager.Backend/Entities/User.cs
Normal file
9
ProjectManager.Backend/Entities/User.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace ProjectManager.Backend.Entities;
|
||||
|
||||
public class User {
|
||||
public string UserId { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Username { get; set; }
|
||||
public string Password { get; set; }
|
||||
public int MaxProjects { get; set; }
|
||||
}
|
||||
8
ProjectManager.Backend/Entities/UserToken.cs
Normal file
8
ProjectManager.Backend/Entities/UserToken.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace ProjectManager.Backend.Entities;
|
||||
|
||||
public class UserToken {
|
||||
public string TokenId { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public string ClientIp { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user