package com.sz.admin.monitor.pojo.vo.edgebox;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * EdgeBox返回vo
 * </p>
 *
 * @author Lz
 * @since 2026-03-05
 */
@Data
@Schema(description = "EdgeBox返回vo")
public class EdgeBoxVO {

    @ExcelIgnore
    @Schema(description = "主键")
    private Long id;

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

    @ExcelProperty(value = "盒子的IP地址")
    @Schema(description = "盒子的IP地址")
    private String ip;
    @ExcelProperty(value = "盒子的端口")
    @Schema(description = "盒子的端口")
    private String port;

    @ExcelProperty(value = "子网掩码")
    @Schema(description = "子网掩码")
    private String mask;

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

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

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

    @ExcelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @ExcelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}