package cn.iocoder.yudao.module.pms.controller.admin.iotmaterialrequisition.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 物料领用 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotMaterialRequisitionRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32508")
    @ExcelProperty("主键id")
    private Long id;

    @Schema(description = "部门id", example = "21691")
    @ExcelProperty("部门id")
    private Long deptId;

    @Schema(description = "物料领用单编号")
    @ExcelProperty("物料领用单编号")
    private String requisitionNumber;

    @Schema(description = "物料领用单名称", example = "李四")
    @ExcelProperty("物料领用单名称")
    private String name;

    @Schema(description = "领用用途(1维修  2保养 3其它)", example = "2")
    @ExcelProperty("领用用途(1维修  2保养 3其它)")
    private Integer type;

    @Schema(description = "领用人姓名")
    @ExcelProperty("领用人姓名")
    private String responsiblePerson;

    @Schema(description = "物料总费用")
    @ExcelProperty("物料总费用")
    private BigDecimal cost;

    @Schema(description = "领用结果(1待执行 2已执行)")
    @ExcelProperty("领用结果(1待执行 2已执行)")
    private Integer result;

    @Schema(description = "其他费用")
    @ExcelProperty("其他费用")
    private BigDecimal otherCost;

    @Schema(description = "人工费用")
    @ExcelProperty("人工费用")
    private BigDecimal laborCost;

    @Schema(description = "领用日期")
    @ExcelProperty("领用日期")
    private LocalDateTime requisitionTime;

    @Schema(description = "领用原因", example = "不好")
    @ExcelProperty("领用原因")
    private String reason;

    @Schema(description = "备注（如特殊要求、紧急程度）", example = "你说的对")
    @ExcelProperty("备注（如特殊要求、紧急程度）")
    private String remark;

    @Schema(description = "状态 0=未出库 1=已出库 2=已关闭", example = "1")
    @ExcelProperty("状态 0=未出库 1=已出库 2=已关闭")
    private Integer status;

    @Schema(description = "流程实例id", example = "3328")
    @ExcelProperty("流程实例id")
    private String processInstanceId;

    @Schema(description = "审批状态 未提交、审批中、审批通过、审批不通过、已取消", example = "1")
    @ExcelProperty("审批状态 未提交、审批中、审批通过、审批不通过、已取消")
    private Integer auditStatus;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}