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

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 TransactionSummaryStatisticsId implements Serializable {

	private static final long serialVersionUID = 1L;

	@Column(unique = true, nullable = false, length = 8)
	@Comment("기준년월")
	private String statcymd;

	@Column(unique = true, nullable = false, length = 4)
	@Comment("업무명")
	private String eaibzwkdstcd;

	@Column(unique = true, nullable = false, length = 10)
	@Comment("어플리케이션코드")
	private String appdstcd;

	@Column(unique = true, nullable = false, length = 20)
	@Comment("업체코드")
	private String companycode;

	@Column(unique = true, nullable = false, length = 20)
	@Comment("대외기관 설정")
	private String adptrinsticode;

	@Column(unique = true, nullable = false, length = 1)
	@Comment("송수신구분코드")
	private String typecode;
}