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

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Comment;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor

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

   @Column(unique = true, nullable = false, length = 40)
   @Comment("GUID")
   private String guid;

   @Column(length = 8)
   @Comment("리소스경로")
   private String resource_path;

   @Column(length = 4)
   @Comment("리소스파일명")
   private String resource_name;
}