import { Attr } from 'ts-framework' export class UserInfoCreateDTO { @Attr({ type: String, optional: true }) photo?: string @Attr({ type: String, optional: true }) birthDate?: string @Attr({ type: String, optional: true }) note?: string } export class UserInfoUpdateDTO { @Attr({ type: String, optional: true }) photo?: string @Attr({ type: String, optional: true }) birthDate?: string @Attr({ type: String, optional: true }) note?: string } export class UserInfoResponseDTO { photo?: string birthDate?: string note?: string constructor(model: UserInfoResponseDTO) { this.photo = model.photo this.birthDate = model.birthDate this.note = model.note } static of(model: UserInfoResponseDTO) { return new UserInfoResponseDTO(model) } }