package com.sz.admin.monitor.pojo.po;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.sz.mysql.EntityChangeListener;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * ClassName: ComputerRoom
 * Package: com.sz.admin.monitor.pojo.po
 * Description:
 */
@Data
@Table(value = "ry_computer_room", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "机房表")
public class ComputerRoom {
    @Id(keyType = KeyType.Auto)
    @Schema(description = "id")
    private Long id;
    @Schema(description = "名称")
    private String name;
    @Schema(description = "描述")
    private String description;
    @Schema(description = "变电站ID")
    private Long substationId;
}
