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

import com.mybatisflex.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.io.Serial;

import com.sz.mysql.EntityChangeListener;

import java.time.LocalDateTime;

/**
 * <p>
 * 边缘盒子
 * </p>
 *
 * @author Lz
 * @since 2026-03-05
 */
@Data
@Table(value = "ry_edge_box", onInsert = EntityChangeListener.class, onUpdate = EntityChangeListener.class)
@Schema(description = "边缘盒子")
public class EdgeBox implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @Schema(description = "主键")
    private Long id;

    @Schema(description = "盒子的名称")
    private String name;

    @Schema(description = "盒子的IP地址")
    private String ip;

    @Schema(description = "盒子的端口")
    private String port;
    @Schema(description = "子网掩码")
    private String mask;

    @Schema(description = "网关地址")
    private String gateway;

    @Schema(description = "盒子的账号")
    private String account;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}