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

import com.alibaba.cola.dto.DTO;
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 ShipOrderPackage extends DTO {

	/**
	 * 发货单子项ID
	 */
	@Schema(title = "发货单子项ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long orderPackageId;

	/**
	 * 发货单ID
	 */
	@Schema(title = "发货单ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long shipOrderId;

	/**
	 * 箱型
	 */
	@Schema(title = "箱型")
	private String boxCategory;

	/**
	 * 箱号
	 */
	@Schema(title = "箱号")
	private String boxProduct;

	/**
	 * 数量
	 */
	@Schema(title = "数量")
	private Integer quantity;

	/**
	 * 单价(元)
	 */
	@Schema(title = "单价(元)")
	private BigDecimal unitPrice;

	/**
	 * 金额(元)
	 */
	@Schema(title = "金额(元)")
	private BigDecimal itemAmount;

	/**
	 * 单重(斤)
	 */
	@Schema(title = "单重(斤)")
	private BigDecimal singleWeight;

	/**
	 * 总重(斤)
	 */
	@Schema(title = "总重(斤)")
	private BigDecimal totalWeight;

	/**
	 * 箱子品牌图片
	 */
	@Schema(title = "箱子品牌图片")
	private String boxBrandImage;

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

}