using System.ComponentModel.DataAnnotations;

namespace Fengling.Console.Models.Dtos;

public class CreateTenantDto
{
    [Required]
    public string TenantCode { 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; }

    [MaxLength(255)]
    public string? CustomDomain { get; set; }

    [MaxLength(50)]
    public string? BasePath { get; set; }

    [MaxLength(500)]
    public string? Logo { get; set; }

    [MaxLength(500)]
    public string? H5BaseUrl { get; set; }
}
