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.math.BigDecimal;
import java.time.LocalDateTime;

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

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

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

	/**
	 * 重量(kg)
	 */
	@Schema(title = "重量(kg)", requiredMode = Schema.RequiredMode.REQUIRED)
	private BigDecimal weight;

	/**
	 * 成本价
	 */
	@Schema(title = "成本价", requiredMode = Schema.RequiredMode.REQUIRED)
	private BigDecimal costPrice;

	/**
	 * 销售价
	 */
	@Schema(title = "销售价", requiredMode = Schema.RequiredMode.REQUIRED)
	private BigDecimal salePrice;

	/**
	 * 规格ID
	 */
	@Schema(title = "规格ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long specId;

	/**
	 * 规格名称
	 */
	@Schema(title = "规格名称", requiredMode = Schema.RequiredMode.REQUIRED)
	private String specName;

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

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

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

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

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

}
