package com.yuchen.saas.park.api.entity.fault;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: 肖润飞
 * @CreateTime: 2022/10/18 14:25
 * @Description: 设备画像分析和故障历史中间表
 * @Version: 1.0
 */
@Data
@TableName("equipment_breakdown_analyse_history")
@ApiModel(value = "园区设备状态表", description = "园区设备分类表")
public class EquipmentBreakdownAnalyseHistory{

    @JsonSerialize(
            using = ToStringSerializer.class
    )
    @ApiModelProperty("主键id")
    @TableId(
            value = "id",
            type = IdType.ASSIGN_ID
    )
    private Long id;
    /**
     * 画像分析表id
     */
    private Long analyseId;

    /**
     * 故障历史表id
     */
    private Long historyId;


}