package com.bonus.material.purchase.domain.vo;

import com.bonus.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author ma_sh
 * @create 2024/10/21 13:47
 */
@Data
public class PurchaseVo {

    @ApiModelProperty(value="任务id")
    private Integer taskId;

    @ApiModelProperty(value = "二级明细id")
    private String purchaseId;

    @ApiModelProperty(value="typeId")
    private Integer typeId;

    @ApiModelProperty("物资名称")
    private String materialName;

    @ApiModelProperty("规格型号")
    private String materialModel;

    @ApiModelProperty(value="单位")
    private String unitName;

    @ApiModelProperty(value="供应商名称")
    private String supplierName;

    @ApiModelProperty(value="出厂日期")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date productDate;

    @ApiModelProperty(value="到货时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @Excel(name = "到货时间")
    private Date arrivalTime;

    @ApiModelProperty(value="采购单号")
    @Excel(name = "采购单号")
    private String purchaseCode;

    @ApiModelProperty(value="采购物资")
    @Excel(name = "采购物资")
    private String purchaseMaterial;

    @ApiModelProperty(value="采购数量")
    @Excel(name = "采购数量")
    private Integer purchaseNum;

    @ApiModelProperty(value="验收数量")
    private Integer checkNum;

    @ApiModelProperty(value="绑定数量")
    private Integer bindNum;

    @ApiModelProperty(value="采购价格（元含税）")
    private Integer purchasePrice;

    @ApiModelProperty(value="采购价格（元不含税）")
    private Integer notaxPrice;

    @ApiModelProperty(value="税率")
    private Integer taxRate;

    @ApiModelProperty(value="创建人")
    @Excel(name = "创建人")
    private String createBy;

    @ApiModelProperty(value="创建时间")
    @Excel(name = "创建时间")
    private String createTime;

    @ApiModelProperty(value="状态")
    private Integer status;

    @ApiModelProperty(value="状态名称")
    @Excel(name = "状态")
    private String statusName;

    @ApiModelProperty(value="备注")
    @Excel(name = "备注")
    private String remark;

    @ApiModelProperty(value = "管理类型0是编码1计数")
    private String manageType;

    @ApiModelProperty(value = "采购人")
    private String purchaserName;

    @ApiModelProperty(value = "机具编号")
    private String maCode;

    @ApiModelProperty(value = "出厂编号")
    private String outFacCode;

    @ApiModelProperty(value = "二维码code")
    private String qrCode;

    @ApiModelProperty(value = "二维码路径")
    private String qrUrl;

    @ApiModelProperty(value = "异常数量")
    private Integer exceptionNum;
}
