mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-30 16:26:36 +08:00
120 lines
1.8 KiB
Java
120 lines
1.8 KiB
Java
package com.admin.common.dto;
|
|
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* <p>
|
|
* 用户隧道权限及隧道详细信息DTO
|
|
* </p>
|
|
*
|
|
* @author QAQ
|
|
* @since 2025-06-03
|
|
*/
|
|
@Data
|
|
public class UserTunnelWithDetailDto {
|
|
|
|
/**
|
|
* 用户隧道权限记录ID
|
|
*/
|
|
private Integer id;
|
|
|
|
/**
|
|
* 用户ID
|
|
*/
|
|
private Integer userId;
|
|
|
|
/**
|
|
* 隧道ID
|
|
*/
|
|
private Integer tunnelId;
|
|
|
|
/**
|
|
* 流量限制
|
|
*/
|
|
private Integer flow;
|
|
|
|
/**
|
|
* 转发数量限制
|
|
*/
|
|
private Integer num;
|
|
|
|
/**
|
|
* 流量重置时间(时间戳)
|
|
*/
|
|
private Long flowResetTime;
|
|
|
|
/**
|
|
* 到期时间(时间戳)
|
|
*/
|
|
private Long expTime;
|
|
|
|
/**
|
|
* 限速规则ID
|
|
*/
|
|
private Integer speedId;
|
|
|
|
/**
|
|
* 限速规则名称
|
|
*/
|
|
private String speedLimitName;
|
|
|
|
/**
|
|
* 限速值
|
|
*/
|
|
private Integer speed;
|
|
|
|
/**
|
|
* 隧道名称
|
|
*/
|
|
private String tunnelName;
|
|
|
|
/**
|
|
* 隧道流量计算类型(1-单向,2-双向)
|
|
*/
|
|
private Integer tunnelFlow;
|
|
|
|
/**
|
|
* 入站流量(字节)
|
|
*/
|
|
private Long inFlow;
|
|
|
|
/**
|
|
* 出站流量(字节)
|
|
*/
|
|
private Long outFlow;
|
|
|
|
// /**
|
|
// * 入口IP
|
|
// */
|
|
// private String inIp;
|
|
//
|
|
// /**
|
|
// * 入口端口开始
|
|
// */
|
|
// private Integer inPortSta;
|
|
//
|
|
// /**
|
|
// * 入口端口结束
|
|
// */
|
|
// private Integer inPortEnd;
|
|
//
|
|
// /**
|
|
// * 出口IP
|
|
// */
|
|
// private String outIp;
|
|
//
|
|
// /**
|
|
// * 出口端口开始
|
|
// */
|
|
// private Integer outIpSta;
|
|
//
|
|
// /**
|
|
// * 出口端口结束
|
|
// */
|
|
// private Integer outIpEnd;
|
|
//
|
|
// /**
|
|
// * 隧道类型(1-端口转发,2-隧道转发)
|
|
// */
|
|
// private Integer type;
|
|
} |