package com.bootdo.common.token;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 宋显哲
 * @version 1.0.0 创建于 2018/1/18
 **/
@Data
public class Payload implements Serializable {
    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("用户账号")
    private String username;

    @ApiModelProperty("用户密码")
    private String password;

    @Override
    public String toString() {
        return "Payload{" +
                "userId='" + userId + '\'' +
                ", username='" + username + '\''+
                ", password='" + password + '\''+
                '}';
    }
}
