package com.bonus.material.scrap.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.math.BigDecimal;
import java.util.List;

/**
 * 报废台账返回实体类
 * @author ma_sh
 */
@Data
public class ScrapTotalListVo {

    @ApiModelProperty(value = "ids结果集")
    private String ids;

    @ApiModelProperty(value = "任务id结果集")
    private String taskIds;

    @ApiModelProperty(value = "ids结果集")
    private List<Long> idList;

    @ApiModelProperty(value = "任务id结果集")
    private List<Long> taskIdList;

    @ApiModelProperty(value = "物资类型名称")
    private String typeName;

    /** 规格ID */
    @ApiModelProperty(value = "规格ID")
    private Long typeId;

    @ApiModelProperty(value = "规格型号名称")
    private String typeModelName;

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

    @ApiModelProperty(value = "本次审核周期")
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "月份")
    private String month;

    /** 报废数量 */
    @Excel(name = "报废数量")
    @ApiModelProperty(value = "报废数量")
    private BigDecimal scrapNum;

    @ApiModelProperty(value = "费用合计")
    @Excel(name = "报废费用(万元)")
    private BigDecimal totalCost;

    @ApiModelProperty(value = "购置价")
    private BigDecimal buyPrice;

    @ApiModelProperty(value = "报废类型")
    private String scrapStyle;

    @ApiModelProperty(value = "(1退料2,维修审核，3盘点报废)")
    private String scrapSource;

    /** （0自然，1人为） */
    private String scrapType;

    @ApiModelProperty(value = "任务创建人昵称")
    private String createName;

    @ApiModelProperty(value = "台账审核状态 0待审核，1已审核，2驳回")
    private String ledgerStatus;

}
