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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备-点检、保养记录新增/修改 Request VO")
@Data
public class DeviceMaintainSaveReqVO {

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

    @Schema(description = "数据类型", example = "2")
    private String dataType;

    @Schema(description = "业务配置id", example = "5423")
    private Long ruleId;

    @Schema(description = "设备id", example = "32060")
    private Long deviceId;

    @Schema(description = "保养日期")
    private LocalDateTime checkDate;

    @Schema(description = "保养内容")
    private String content;

    @Schema(description = "保养人", example = "30355")
    private Long checkUserId;

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

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

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

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

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

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

    @Schema(description = "提交标识")
    private String submitFlag;

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

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

}