package com.fuyuanshen.equipment.domain.query;

import com.fuyuanshen.common.core.validate.AddGroup;
import com.fuyuanshen.common.core.validate.EditGroup;
import com.fuyuanshen.common.mybatis.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * 设备维修记录查询
 *
 * @Description:
 * @Author: WY
 * @Date: 2025/5/16
 **/
@Data
public class DeviceRepairRecordsQueryCriteria extends BaseEntity {
    /**
     * 维修记录ID
     */
    private Long recordId;

    /**
     * 设备ID
     */
    private String deviceId;

    /**
     * 维修时间
     */
    private Date repairTime;

    /**
     * 维修部位
     */
    private String repairPart;

    /**
     * 维修原因
     */
    private String repairReason;

    /**
     * 维修人员
     */
    private String repairPerson;

    @Schema(title = "维修开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date repairBeginTime;
    @Schema(title = "维修结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date repairEndTime;

    @Schema(title = "所属客户")
    private Long customerId;

    @Schema(title = "com.fuyuanshen")
    private Long tenantId;
    /**
     * 页码
     */
    private Integer pageNum = 1;

    /**
     * 每页数据量
     */
    private Integer pageSize = 10;
}
