package com.bonus.material.basic.domain.report;

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.Date;

/**
 * 修饰后入库报表
 * @Author ma_sh
 * @create 2025/1/23 14:43
 */
@Data
public class RepairInputDto {

    private Long id;

    @ApiModelProperty(value = "是否导出 0 是，1 否")
    private Integer isExport;

    private Long taskId;

    private Long typeId;

    @ApiModelProperty(value = "物资名称")
    @Excel(name = "物资名称")
    private String typeName;

    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号")
    private String typeModelName;

    @ApiModelProperty(value = "计量单位")
    @Excel(name = "计量单位")
    private String unitName;

    @ApiModelProperty(value = "维修合格数量")
    @Excel(name = "维修合格数量")
    private BigDecimal repairedNum;

    @ApiModelProperty(value = "入库数量")
    @Excel(name = "入库数量")
    private BigDecimal inputNum;

    @ApiModelProperty(value = "维修提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "维修提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date repairTime;

    @ApiModelProperty(value = "入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inputTime;

    @ApiModelProperty(value = "入库人员")
    @Excel(name = "入库人员")
    private String inputPersonName;

    @ApiModelProperty(value = "待入库数量")
    @Excel(name = "待入库数量")
    private BigDecimal pendingInputNum;

    @ApiModelProperty(value = "入库单号")
    @Excel(name = "入库单号")
    private String code;

    @ApiModelProperty(value = "管理方式")
    private String manageType;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "关键字")
    private String keyWord;

    @ApiModelProperty(value = "用户id")
    private Long userId;
}
