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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备-保养分项新增/修改 Request VO")
@Data
public class DeviceMaintainItemSaveReqVO {

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

    @Schema(description = "父ID", example = "23462")
    private Long parentId;

    @Schema(description = "项id", example = "19985")
    private Long checkItemId;

    @Schema(description = "保养情况、异常情况")
    private String checkResult;

    @Schema(description = "处理结果")
    private String conclusion;

    @Schema(description = "执行说明")
    private String checkRemark;

    @Schema(description = "执行日期")
    private LocalDateTime checkDate;

    @Schema(description = "执行人", example = "王五")
    private String checkUserName;

    @Schema(description = "执行人id", example = "25621")
    private Long checkUserId;

    @Schema(description = "业务键，预留字段")
    private String itemKey;

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

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

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

    @Schema(description = "所属周期开始日期")
    private LocalDateTime frequencyTimeStart;

    @Schema(description = "所属周期截止日期")
    private LocalDateTime frequencyTimeEnd;

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

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

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

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

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

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

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

}