src/main/java/project/capstone/controller/dto/NewItemDto.java
<filename>src/main/java/project/capstone/controller/dto/NewItemDto.javapackage project.capstone.controller.dto;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import project.capstone.entity.AdminCheck;
import project.capstone.entity.Box;
import project.capstone.entity.ItemType;

import java.util.List;

@Data
@NoArgsConstructor
public class NewItemDto {
    private String name;
    private String identifier;
    private String imSize;
    private String imDate;
    private String resolution;
    private String depth;
    private AdminCheck adminCheck;
    private ItemType itemType;
    private Boolean defect;
    private List<Box> boxes;

    @Builder
    public NewItemDto(String identifier, String imSize, String imDate, String resolution, String depth) {
        this.identifier = identifier;
        this.imSize = imSize;
        this.imDate = imDate;
        this.resolution = resolution;
        this.depth = depth;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setBoxes(List<Box> boxes) {
        this.boxes = boxes;
    }
}
