package com.remy.common.module;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Singular;
import lombok.experimental.SuperBuilder;

import java.math.BigDecimal;
import java.util.List;

@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class GoodsDTO extends BaseDTO {

    private String serialNo;

    private String name;

    private String description;

    private String img;

    private String detail;

    private BigDecimal price;

    private Integer itemCount;

    @Singular
    private List<OrderDTO> orders;

}
