package com.izouma.nineth.dto;

import com.izouma.nineth.domain.User;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class CompanyDTO {
    private Long   id;
    private String username;
    private String nickname;
    private String avatar;
    private int    showroomNum;
    private int    boxShowroomNum;

    public CompanyDTO(User user) {
        BeanUtils.copyProperties(user, this);
    }
}
