package com.eactive.eai.rms.data.entity.onl.djb.inflow;

  import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.eactive.eai.data.entity.AbstractEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;

@Data
@EqualsAndHashCode(onlyExplicitlyIncluded = true, callSuper = true)
@Entity
@Table(name = "TSEAIFR11")
public class InflowTokenInsufficientLog extends AbstractEntity<InflowTokenInsufficientLogId> implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@EmbeddedId
	@EqualsAndHashCode.Include
	private InflowTokenInsufficientLogId id;
	
	@Column(name = "EAISEVRINSTNCNAME", length = 20)
	private String eaisevrinstncname;
	
	@Column(name = "EAISVCNAME", length = 30)
	private String eaisvcname;
	
	@Column(name = "ADPTRBZWKGROUPNAME", length = 50)
	private String adptrbzwkgroupname;
	
	@Column(name = "THRESHOLDPERSECOND")
	private Long thresholdpersecond;
	
	@Column(name = "THRESHOLD")
	private Long threshold;
	
	@Column(name = "THRESHOLDTIMEUNIT", length = 12)
	private String thresholdtimeunit;
	
	@Override
	public @NonNull InflowTokenInsufficientLogId getId() { return id; }
}