fengling-console/Models/Dtos/TenantDto.cs
movingsam fc8fcc7de2 refactor(console): remove Repository layer, use Manager pattern
- Remove Repositories folder (IUserRepository, UserRepository, IRoleRepository, RoleRepository)
- Remove Managers folder (old TenantManager)
- Remove Datas folder (old ApplicationDbContext)
- Remove Models/Entities folder (old domain entities)
- Remove EntityConfigurations folder
- Update Services to use UserManager/RoleManager/PlatformDbContext directly
- Update DTOs to use Platform's TenantStatus
2026-02-21 13:52:37 +08:00

24 lines
854 B
C#

using Fengling.Platform.Domain.AggregatesModel.TenantAggregate;
namespace Fengling.Console.Models.Dtos;
public class TenantDto
{
public long 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; }
}