package cn.iocoder.yudao.module.stockTransfer.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 用于调拨单子表导出VO
 *
 * @author 小李
 * @date 17:43 2024/12/3
**/
@Data
@ExcelIgnoreUnannotated
public class RepairSoiExportVO {

    @ExcelProperty("单号")
    private String stNo;

    @ExcelProperty("商品名称")
    private String name;

    @ExcelProperty("规格")
    private String model;

    @ExcelProperty("商品编码")
    private String code;

    @ExcelProperty("条形码")
    private String barCode;

    @ExcelProperty("数量")
    private Integer goodsCount;

    @ExcelProperty("成本")
    private BigDecimal price;

    @ExcelProperty("金额")
    private BigDecimal goodsPrice;

    @ExcelProperty("合计金额")
    private BigDecimal totalPrice;

    @ExcelProperty("负责人")
    private String userName;

    @ExcelProperty("调出门店")
    private String outCorpId;

    @ExcelProperty("调入门店")
    private String inCorpId;

    @ExcelProperty("调拨时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date stTime;

    @ExcelProperty("备注")
    private String remark;
}
