fengling-console/Models/Dtos/UpdateTenantDto.cs
movingsam 4d2127637d refactor: clean up Member module and update Console
- Remove redundant PointsRule repositories (use single PointsRuleRepository)
- Clean up Member migrations and consolidate to single Init migration
- Update Console frontend API and components for Tenant
- Add H5LinkService for member H5 integration
2026-02-18 23:34:40 +08:00

39 lines
847 B
C#

using System.ComponentModel.DataAnnotations;
namespace Fengling.Console.Models.Dtos;
public class UpdateTenantDto
{
[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; }
}