package cokr.xit.ens.modules.common.ctgy.mblpage.domain;

import cokr.xit.ens.modules.common.domain.BaseEntity;
import cokr.xit.ens.modules.common.ctgy.mblpage.domain.ids.SendDetailMblPageIds;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import javax.persistence.*;

@Entity
@Getter @ToString
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@IdClass(SendDetailMblPageIds.class)
@Table(name = "ens_snd_dtl_mbl_page", schema = "", catalog = "")
public class SendDetailMblPage extends BaseEntity {

	@Id
	@Column(name = "post_se")
//	@Enumerated(EnumType.STRING)
	
//	private PostSeCd postSe;
	private String postSe;
	@Id
	@Column(name = "send_detail_id")
	private Long sendDetailId;
//	@EmbeddedId
//	private SendDetailMblPageIds id;


	@Column(name = "details", nullable = false)
	@Lob
	private String details;
}
