Skip to content

Commit

Permalink
사용자 정보 조회시 타입 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssksss committed Jul 12, 2024
1 parent 8b9f08e commit df58d55
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/types/UserDto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Request 요청 결과 Dto
export interface userResponseDto {
age: number; // 연도
email: string;
id: number;
isAdmin: boolean;
nickname: string;
phoneNumber: string;
sex: string; // "male, female"
userImage: {
id: number;
address: string;
createdDate: string; // "2024-07-12",
};
userStatus: string; // "활성화" | "휴먼" | "삭제" | "관리자" | "";
}

0 comments on commit df58d55

Please sign in to comment.