package com.inspect.metadata.mqtt.domain;

import com.inspect.base.core.web.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class HrMaintenance extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long maintenanceId;
    private String nestIds;
    private String droneIds;
    private String nestEqpIds;
    private String droneEqpIds;
    @NotBlank(message = "维护内容不能为空")
    @Size(min = 0, max = 100, message = "维护内容不能超过100个字符")
    private String content;

    private String beginTime;
    private String endTime;
}
