package com.xunhong.erp.turbo.api.biz.dto.vo;

import com.alibaba.cola.dto.DTO;
import com.xunhong.erp.turbo.api.biz.dto.enums.BoxBrandTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "纸箱品牌")
@EqualsAndHashCode(callSuper = true)
public class BoxBrandVO extends DTO {

	/**
	 * 品牌ID
	 */
	@Schema(title = "品牌ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long brandId;

	/**
	 * 品牌名称
	 */
	@Schema(title = "品牌名称", requiredMode = Schema.RequiredMode.REQUIRED)
	private String name;

	/**
	 * 品牌图片URL
	 */
	@Schema(title = "品牌图片URL")
	private String image;

	/**
	 * 纸箱规格ID
	 */
	@Schema(title = "纸箱规格ID")
	private List<Long> specIds;

	/**
	 * 备注
	 */
	@Schema(title = "备注")
	private String remark;

	/**
	 * 状态：1_启用；0_禁用
	 */
	@Schema(title = "状态：1_启用；0_禁用", requiredMode = Schema.RequiredMode.REQUIRED)
	private Boolean status;

	/**
	 * 品牌类型：1_我方纸箱；2_瓜农纸箱；3_第三方纸箱；4_礼盒；
	 */
	@Schema(title = "品牌类型：1_我方纸箱；2_瓜农纸箱；3_第三方纸箱；4_礼盒；", requiredMode = Schema.RequiredMode.REQUIRED)
	private BoxBrandTypeEnum type;

	/**
	 * 纸箱产品列表
	 */
	@Schema(title = "纸箱产品列表")
	private List<BoxProductVO> boxProductVOList;

	/**
	 * 纸箱规格列表
	 */
	@Schema(title = "纸箱规格列表")
	private List<BoxSpecVO> boxSpecVOList;

	/**
	 * 创建时间
	 */
	@Schema(title = "创建时间")
	private LocalDateTime createdAt;

}
