30 lines
664 B
C#
30 lines
664 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Fengling.Console.Models.Dtos;
|
|
|
|
public class CreateTenantDto
|
|
{
|
|
[Required]
|
|
public string TenantId { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public string ContactName { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
[EmailAddress]
|
|
public string ContactEmail { get; set; } = string.Empty;
|
|
|
|
public string? ContactPhone { get; set; }
|
|
|
|
public int? MaxUsers { get; set; }
|
|
|
|
public string? Description { get; set; }
|
|
|
|
public string Status { get; set; } = "active";
|
|
|
|
public DateTime? ExpiresAt { get; set; }
|
|
}
|