package com.hzs.scm.sale.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.scm.pub.vo.ScmReturnBVo;
import com.hzs.scm.pub.vo.ScmSpecsVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * @description: 销售出库明细表
 * @author: sui q
 * @time: 2024/2/27 13:56
 * @classname: SaleOutBVO
 * @package_name: com.hzs.scm.sale.vo
 * version 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SaleOutBVO extends ScmReturnBVo {

    /**
     * 销售订单主键
     */
    private Long pkSaOrder;

    /**
     * 销售订单明细主键
     */
    private Long pkSaOrderItems;

    /**
     * 发货单主键
     */
    private Long pkDelivery;

    /**
     * 发货单明细主键
     */
    private Long pkDeliverItems;

    /**
     * 主表主键
     */
    private Long pkSaleout;

    /**
     * 货位
     */
    private Integer pkClocation;

    /**
     * 入库日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date bizDate;

    private String batchCode;

    /**
     * 批次主键
     */
    private Long pkBatchCode;

    private List<ScmSpecsVO> scmItemSpecsList;
}
