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

/**
 * @author shenyifei
 */
@Data
@Schema(title = "礼盒创建")
@EqualsAndHashCode(callSuper = true)
public class GiftBoxCreateCmd extends Command {

	/**
	 * 礼盒ID
	 */
	@Schema(title = "礼盒ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long boxId;

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

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

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

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

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

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

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

}

