package com.eactive.eai.rms.onl.manage.circuitbreaker;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

@Data
public class CircuitBreakerManUI {
	@JsonProperty("CBREAKERID")
	private String cbreakerId;
	
	@JsonProperty("CBREAKERTYPE")
	String cbreakerType;
	
	@JsonProperty("CBREAKERNAME")
	String cbreakerName;
	
	@JsonProperty("CBREAKERDESC")
	String cbreakerDesc;
	
	@JsonProperty("FAILURERATETHRESHOLD")
	Integer failureRateThreshold;

	@JsonProperty("SLIDINGWINDOWSIZE")
	Integer slidingWindowSize;

	@JsonProperty("MINIMUMNUMBEROFCALLS")
	Integer minimumNumberOfCalls;

	@JsonProperty("WAITDURATIONINOPENSTATE")
	Integer waitDurationInOpenState;

	@JsonProperty("PERMITTEDNUMBEROFCALLSINHALFOPENSTATE")
	Integer permittedNumberOfCallsInHalfOpenState;

	@JsonProperty("SLOWCALLRATETHRESHOLD")
	Integer slowCallRateThreshold;

	@JsonProperty("SLOWCALLDURATIONTHRESHOLD")
	Integer slowCallDurationThreshold;

	@JsonProperty("USEYN")
	String useYn;
	
	@JsonIgnore
	String modifiedBy;

	@JsonIgnore
	LocalDateTime modifiedAt;
	
}
