package com.lesingle.edu.common.security;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * JWT Payload
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class JwtPayload implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long userId;
    private String username;
    private String role;
    private Long tenantId;
    private String name;

}
