- AccountController: 운영자 CRUD 엔드포인트 (create, list, detail, update, delete) - AccountService: 비즈니스 로직 구현 - Account DTOs: 요청/응답 DTO 5종 - ErrorCodes: Forbidden 코드 추가 - DI 등록 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
470 B
C#
14 lines
470 B
C#
namespace SPMS.Application.DTOs.Account;
|
|
|
|
public class AccountResponseDto
|
|
{
|
|
public string AdminCode { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
public string? Phone { get; set; }
|
|
public string Role { get; set; } = string.Empty;
|
|
public bool EmailVerified { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime? LastLoginAt { get; set; }
|
|
}
|