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

import com.eactive.eai.data.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Comment;

import javax.persistence.*;
import java.io.Serializable;

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

@Entity
@Table(name = "tseairm38")
@org.hibernate.annotations.Table(appliesTo = "tseairm38", comment = "CMLOG상세")
public class CmLogDetailEntity extends AbstractEntity<CmLogDetailEntityId> implements Serializable {
   private static final long serialVersionUID = 1L;

   @EmbeddedId
   private CmLogDetailEntityId id;

   @Column(length = 8)
   @Comment("리소스내용")
   private String resource_content;

//   @ManyToOne
//   @JoinColumn(
//         name = "guid",
//         insertable = false,
//         updatable = false
//   )
//   private CmLog2Entity cmLog2Entity;

}