package com.eactive.eai.rms.data.entity.onl.authserver;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Comment;

import com.eactive.eai.data.entity.AbstractEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;

@Data
@EqualsAndHashCode(onlyExplicitlyIncluded = true, callSuper = true)

@Entity
@Table(name = "tseaiau03")
@org.hibernate.annotations.Table(appliesTo = "tseaiau03", comment = "Scope 정보")
public class ScopeInfo extends AbstractEntity<String> implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(unique = true, nullable = false, length = 128)
	@Comment("스코프ID")
	private String scopeId;

	@Column(length = 50)
	@Comment("스코프유형")
	private String classification;

	@Column(length = 512)
	@Comment("설명")
	private String description;

	@Column(length = 128)
	@Comment("스코프명")
	private String scopeName;

	@Override
	public @NonNull String getId() {
		return scopeId;
	}

}
