- 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
24 lines
854 B
C#
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; }
|
|
}
|