package com.fuyuanshen.equipment.domain.bo;

import com.fuyuanshen.common.core.validate.EditGroup;
import com.fuyuanshen.equipment.domain.DeviceLog;
import com.fuyuanshen.common.mybatis.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.List;

/**
 * 设备日志业务对象 device_log
 *
 * @author Lion Li
 * @date 2025-07-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DeviceLog.class, reverseConvertGenerate = false)
public class DeviceLogBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 设备编号
     */
    private List<Long> deviceIds;

    /**
     * 设备行为
     */
    private String deviceAction;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 数据来源
     */
    private String dataSource;

    /**
     * 内容
     */
    private String content;


}
