package com.kospo.talk.model;

import jakarta.persistence.*;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@Table(name = "role")
public class Role {
    @EmbeddedId
    private RoleId id;

    @Size(max = 20)
    @Column(name = "role_nm", length = 20)
    private String roleNm;

}