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

import com.xunhong.erp.turbo.base.dto.Command;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "纸箱规格创建")
@EqualsAndHashCode(callSuper = true)
public class BoxSpecCreateCmd extends Command {

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

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

	/**
	 * 排序号
	 */
	@Schema(title = "排序号", requiredMode = Schema.RequiredMode.REQUIRED)
	private BigDecimal sort;

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

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

}

