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

import com.zt.plat.module.qms.core.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 设备-检查项目配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceConfigBusinessItemRespVO {

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

    @Schema(description = "业务规则id", example = "25405")
    @ExcelProperty("业务规则id")
    private Long ruleId;

    @Schema(description = "业务键")
    @ExcelProperty("业务键")
    private String itemKey;

    @Schema(description = "项目名称", example = "张三")
    @ExcelProperty("项目名称")
    private String itemName;

    @Schema(description = "频次类型", example = "1")
    @ExcelProperty("频次类型")
    private String frequencyType;

    @Schema(description = "频次")
    @ExcelProperty("频次")
    private String frequency;

    @Schema(description = "检查标准")
    @ExcelProperty("检查标准")
    private String standard;

    @Schema(description = "检查方法")
    @ExcelProperty("检查方法")
    private String itemMethod;

    @Schema(description = "频次说明")
    @ExcelProperty("频次说明")
    private String frequencyRemark;

    @Schema(description = "责任人")
    @ExcelProperty("责任人")
    private String dutyRemark;

    @Dict(dicCode = "write_way")
    @Schema(description = "填写方式")
    @ExcelProperty("填写方式")
    private String writeWay;

    @Schema(description = "排序号")
    @ExcelProperty("排序号")
    private Integer orderNo;

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

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

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

}