Token.java 1.6 KB
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;

}