package com.example.g8backend.entity; | |
import com.baomidou.mybatisplus.annotation.IdType; | |
import com.baomidou.mybatisplus.annotation.TableId; | |
import com.baomidou.mybatisplus.annotation.TableName; | |
import lombok.Data; | |
@Data | |
@TableName("peers") | |
public class Peer { | |
private Long peerId; | |
private String info_hash; | |
private Long userId; // passkey from announce | |
private String ipAddress; | |
private Integer port; | |
private Double uploaded; | |
private Double downloaded; | |
} |