- 将 Controllers, Services, Models, Properties 等目录移至 src/ 下 - 创建 Fengling.Console.slnx Rider 解决方案文件 - 更新 csproj 中的项目引用路径 - 修复 CI/CD 配置: - build.yml: 更新项目路径为 src/Fengling.Console.csproj - docker.yml: 添加 Dockerfile 路径指向 src/Dockerfile - Dockerfile: 修复 COPY 路径以匹配新的目录结构 Closes #重构项目结构
39 lines
847 B
C#
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; }
|
|
}
|