56 lines
1.4 KiB
Java
56 lines
1.4 KiB
Java
package com.idata.tools.ngbatisdemo.pojo;
|
|
|
|
import com.idata.tools.ngbatisdemo.base.BaseVertex;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
import org.nebula.contrib.ngbatis.annotations.base.Tag;
|
|
import org.nebula.contrib.ngbatis.base.GraphBaseVertex;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Id;
|
|
|
|
/**
|
|
* @description:
|
|
* @author: ChenYawei
|
|
* @date: 2025/1/9 11:03
|
|
*/
|
|
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
//@Table(name = "user")
|
|
@Tag(name = "user")
|
|
public class User extends GraphBaseVertex {
|
|
|
|
@Id
|
|
private String id;
|
|
private String name;
|
|
@Column(name = "screen_name")
|
|
private String screenName;
|
|
private String platform;
|
|
@Column(name = "favourites_count")
|
|
private int favouritesCount;
|
|
@Column(name = "followers_count")
|
|
private int followersCount;
|
|
@Column(name = "friends_count")
|
|
private int friendsCount;
|
|
@Column(name = "listed_count")
|
|
private int listedCount;
|
|
@Column(name = "following_count")
|
|
private int followingCount;
|
|
@Column(name = "gather_time")
|
|
private String gatherTime;
|
|
@Column(name = "register_location")
|
|
private String registerLocation;
|
|
@Column(name = "region")
|
|
private String region;
|
|
private String position;
|
|
private String label;
|
|
private String party;
|
|
private String standpoint;
|
|
private String verified;
|
|
private String url;
|
|
|
|
}
|