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 MaterialInventoryCheckItemRespVO {

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

    @Schema(description = "父id", example = "20320")
    @ExcelProperty("父id")
    private Long parentId;

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

    @Schema(description = "大类名称")
    @ExcelProperty("大类名称")
    private String productName;

    @Schema(description = "大类编码")
    private String productCode;

    @Schema(description = "大类规格")
    private String productSpecification;

    @Schema(description = "大类型号")
    private String productModelNo;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "应有量")
    @ExcelProperty("应有量")
    private BigDecimal expected;

    @Schema(description = "实有量")
    @ExcelProperty("实有量")
    private BigDecimal actual;

    @Schema(description = "差异")
    @ExcelProperty("差异")
    private String difference;

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

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

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

}