package com.zt.plat.module.qms.resource.material.controller.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 MaterialUseEndReuseDetailRespVO {

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

    @Schema(description = "主表id", example = "24528")
    @ExcelProperty("主表id")
    private Long parentId;

    @Schema(description = "业务类型,用完标记，清洗回收", example = "1")
    @ExcelProperty("业务类型,用完标记，清洗回收")
    private String businessType;

    @Schema(description = "用完标记人或清洗回收人")
    @ExcelProperty("用完标记人或清洗回收人")
    private String operator;

    @Schema(description = "操作人id", example = "6934")
    @ExcelProperty("操作人id")
    private Long operatorId;

    @Schema(description = "标记日期或清洗回收日期")
    @ExcelProperty("标记日期或清洗回收日期")
    private LocalDateTime operatorDate;

    @Schema(description = "物料id", example = "7953")
    @ExcelProperty("物料id")
    private Long infomationId;

    @Schema(description = "物料名称")
    @ExcelProperty("物料名称")
    private String infomationName;

    @Schema(description = "物料编号")
    @ExcelProperty("物料编号")
    private String infomationCode;

    @Schema(description = "型号")
    @ExcelProperty("型号")
    private String modelNo;

    @Schema(description = "大类id", example = "108")
    @ExcelProperty("大类id")
    private Long productId;

    @Schema(description = "物料名称")
    @ExcelProperty("物料名称")
    private String materialName;

    @Schema(description = "数量")
    @ExcelProperty("数量")
    private BigDecimal quantity;

    @Schema(description = "物料类型：玻璃，塑料")
    @ExcelProperty("物料类型：玻璃，塑料")
    private String materialType;

    @Schema(description = "回收人")
    @ExcelProperty("回收人")
    private String reuseName;

    @Schema(description = "回收人id")
    @ExcelProperty("回收人id")
    private String reuseId;

    @Schema(description = "回收日期")
    @ExcelProperty("回收日期")
    private LocalDateTime reuseDate;

    @Schema(description = "处理回收状态,0-未回收，1-已回收")
    @ExcelProperty("处理回收状态,0-未回收，1-已回收")
    private String treatmentStatus;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

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

}