fengling-console/Models/Dtos/TenantDto.cs
movingsam 0d64b61169 refactor(console): migrate tenant management to TenantManager pattern
- Replace TenantRepository with TenantManager (ASP.NET Identity style)
- Change TenantId from long to int (auto-increment)
- Add TenantStore with CRUD operations
- Update TenantService, UserService, RoleService to use TenantManager
- Add Tenant entity with TenantStatus enum
- Update DTOs and controllers for int tenant IDs
2026-02-19 21:43:24 +08:00

24 lines
830 B
C#

using Fengling.Console.Models.Entities;
namespace Fengling.Console.Models.Dtos;
public class TenantDto
{
public int Id { get; set; }
public string TenantCode { get; set; } = "";
public string Name { get; set; } = "";
public string ContactName { get; set; } = "";
public string ContactEmail { get; set; } = "";
public string? ContactPhone { get; set; }
public int? MaxUsers { get; set; }
public int UserCount { get; set; }
public TenantStatus Status { get; set; } = TenantStatus.Active;
public DateTime? ExpiresAt { get; set; }
public string? Description { get; set; }
public DateTime CreatedAt { get; set; }
public string? CustomDomain { get; set; }
public string? BasePath { get; set; }
public string? Logo { get; set; }
public string? H5BaseUrl { get; set; }
}