package com.xinelu.manage.dto.goodsInfo;

import com.xinelu.manage.domain.goodsInfo.GoodsInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import java.io.Serializable;
import java.util.List;

/**
 * @author ljh
 * @version 1.0
 * Create by 2022/10/20 14:59
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GoodsInfoDTO extends GoodsInfo implements Serializable {
    private static final long serialVersionUID = 7361219514871900274L;

    /**
     * 批量新增商品属性
     */
    @Valid
    private List<GoodsAttributeDTO> goodDetailsLists;
}
