Add tenant services, change id by _id and include delete endpoint for all entities
This commit is contained in:
		| @@ -0,0 +1,45 @@ | ||||
| using Lib.Architecture.BuildingBlocks; | ||||
|  | ||||
| namespace Core.Thalos.Application.UseCases.Tenants.Input | ||||
| { | ||||
|     public class UpdateTenantRequest : Notificator, ICommand | ||||
|     { | ||||
|         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; } | ||||
|         public bool Validate() | ||||
|         { | ||||
|             return _Id != null; | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Sergio Matias Urquin
					Sergio Matias Urquin