You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
781 B
43 lines
781 B
package com.community.pocket.domain;
|
|
|
|
import org.springframework.data.annotation.Id;
|
|
|
|
public class Token {
|
|
@Id
|
|
private String id;
|
|
private String token;
|
|
private Long createTime;
|
|
private Long useTime;
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getToken() {
|
|
return token;
|
|
}
|
|
|
|
public void setToken(String token) {
|
|
this.token = token;
|
|
}
|
|
|
|
public Long getCreateTime() {
|
|
return createTime;
|
|
}
|
|
|
|
public void setCreateTime(Long createTime) {
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
public Long getUseTime() {
|
|
return useTime;
|
|
}
|
|
|
|
public void setUseTime(Long useTime) {
|
|
this.useTime = useTime;
|
|
}
|
|
}
|
|
|