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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 设备-检查项目配置分页 Request VO")
@Data
public class DeviceConfigBusinessItemPageReqVO extends PageParam {

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

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

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

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

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

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

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

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

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

    @Schema(description = "填写方式")
    private String writeWay;

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

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

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    //=================扩展属性====================
    @Schema(description = "设备大类id")
    private Long productId;

    @Schema(description = "业务类型")
    private String businessDomain;

}