package com.zt.plat.module.qms.resource.device.controller.vo;

import com.alibaba.fastjson.JSONObject;
import com.zt.plat.framework.common.pojo.CommonResult;
import com.zt.plat.module.infra.api.businessfile.dto.BusinessFileWithUrlRespDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/*
* 期间核查响应对象
* */

@Data
public class DevicePeriodCheckVO extends DevicePeriodCheckRespVO{

    //=========公共字段============

    private Long companyId;
    private String companyName;

    private Long deptId;

    private String deptName;

    private Long postId;
    private Long tenantId;

    private String updaterName;
    private String creatorName;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String creator;
    private String updater;

    //============大类字段============

    private String specification;   //规格

    private String modelNo;         //型号

    private String  manufacturer;   //制造商

    private String customConfig;

    private JSONObject customConfigJson;

    //============设备字段============
    private String deviceName;  //设备名称

    private String alias;   //别名

    private String deviceCode;   //管理编号

    private String factoryCode; //出厂编号

    //============物料试剂字段============


    //============其他字段============
    private JSONObject signatureData;

    @Schema(description = "附件对象")
    private CommonResult<List<BusinessFileWithUrlRespDTO>> businessFileRet;

}
