46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| 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;
 | |
|         }
 | |
|     }
 | |
| }
 | 
