package com.eactive.eai.rms.data.entity.man.user;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

import org.hibernate.annotations.Comment;

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

@Data
@NoArgsConstructor
@AllArgsConstructor

@Embeddable
public class UserRoleId implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(nullable = false, length = 20)
	@Comment("사용자ID")
	private String userId;

	@Column(nullable = false, length = 40)
	@Comment("역할ID")
	private String roleId;

}
