package com.izouma.nineth.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;


@Data
@AllArgsConstructor
@NoArgsConstructor
@RedisHash("UserToken")
public class UserToken {

    @Id
    private String username;

    private String token;
}
