Add tenant services and delete services
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using Core.Blueprint.Mongo;
|
||||
|
||||
namespace Core.Thalos.External.Clients.Thalos.Requests.Tenants
|
||||
{
|
||||
public class ChangeTenantStatusRequest
|
||||
{
|
||||
public string _Id { get; set; }
|
||||
public StatusEnum Status { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
namespace Core.Thalos.External.Clients.Thalos.Requests.Tenants
|
||||
{
|
||||
public class CreateTenantRequest
|
||||
{
|
||||
public string Name { get; set; } = null!;
|
||||
|
||||
public string TaxIdentifier { get; set; } = null!;
|
||||
|
||||
public string AddressLine1 { get; set; } = null!;
|
||||
|
||||
public string? AddressLine2 { get; set; }
|
||||
|
||||
public string City { get; set; } = null!;
|
||||
|
||||
public string State { get; set; } = null!;
|
||||
|
||||
public string Country { get; set; } = null!;
|
||||
|
||||
public string PostalCode { get; set; } = null!;
|
||||
|
||||
public string ContactEmail { get; set; } = null!;
|
||||
|
||||
public string ContactPhone { get; set; } = null!;
|
||||
|
||||
public string? Website { get; set; }
|
||||
|
||||
public string? ConnectionString { get; set; }
|
||||
|
||||
public bool Isolated { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Core.Thalos.External.Clients.Thalos.Requests.Tenants
|
||||
{
|
||||
public class DeleteTenantRequest
|
||||
{
|
||||
public string _Id { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Core.Thalos.External.Clients.Thalos.Requests.Tenants
|
||||
{
|
||||
public class GetAllTenantsRequest
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Core.Thalos.External.Clients.Thalos.Requests.Tenants
|
||||
{
|
||||
public class GetTenantRequest
|
||||
{
|
||||
public string _Id { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
namespace Core.Thalos.External.Clients.Thalos.Requests.Tenants
|
||||
{
|
||||
public class UpdateTenantRequest
|
||||
{
|
||||
public string Name { get; set; } = null!;
|
||||
|
||||
public string TaxIdentifier { get; set; } = null!;
|
||||
|
||||
public string AddressLine1 { get; set; } = null!;
|
||||
|
||||
public string? AddressLine2 { get; set; }
|
||||
|
||||
public string City { get; set; } = null!;
|
||||
|
||||
public string State { get; set; } = null!;
|
||||
|
||||
public string Country { get; set; } = null!;
|
||||
|
||||
public string PostalCode { get; set; } = null!;
|
||||
|
||||
public string ContactEmail { get; set; } = null!;
|
||||
|
||||
public string ContactPhone { get; set; } = null!;
|
||||
|
||||
public string? Website { get; set; }
|
||||
|
||||
public string? ConnectionString { get; set; }
|
||||
|
||||
public bool Isolated { get; set; }
|
||||
public string _Id { get; set; } = null!;
|
||||
public string Id { get; init; } = null!;
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public string? CreatedBy { get; set; }
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
public string? UpdatedBy { get; set; }
|
||||
|
||||
public Blueprint.Mongo.StatusEnum Status { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user