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

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 CompanyId implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(nullable = false, length = 3)
	@Comment("그룹회사코드")
	private String groupCoCd;

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

	@Column(nullable = false, length = 3)
	@Comment("어플리케이션 코드")
	private String appCode;

	@Column(nullable = false, length = 3)
	@Comment("업무구분코드")
	private String bzwkDstCode;

}
