Token.java
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.huaheng.pc.config.token.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 【请填写功能名称】表 token
*
* @author huaheng
* @date 2022-08-26
*/
@TableName(value = "token")
@Data
public class Token implements Serializable{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/** $column.columnComment */
@TableField(value = "accesstoken")
private String accesstoken;
/** $column.columnComment */
@TableField(value = "type")
private String type;
/** $column.columnComment */
@TableField(value = "name")
private String name;
/** $column.columnComment */
@TableField(value = "password")
private String password;
/** $column.columnComment */
@TableField(value = "refreshToken")
private String refreshToken;
/** $column.columnComment */
@TableField(value = "redirectUrl")
private String redirectUrl;
/** $column.columnComment */
@TableField(value = "expires")
private String expires;
}