package com.eactive.eai.rms.onl.manage.authserver.client;

import com.eactive.eai.rms.onl.transaction.apim.ui.ApiInterfaceUI;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
import org.hibernate.annotations.Comment;

import javax.persistence.Column;

@Data
public class ClientUI {

	@JsonProperty("CLIENTID")
	private String clientId;

	@JsonProperty("ACCESSTOKENVALIDITYSECONDS")
	private String accessTokenValiditySeconds;

	@JsonProperty("ALLOWEDIPS")
	private String allowedIps;

	@JsonProperty("AUTHORITIES")
	private String authorities;

	@JsonProperty("AUTOAPPROVE")
	private String autoApprove;

	@JsonProperty("CLIENTNAME")
	private String clientName;

	@JsonProperty("CLIENTSECRET")
	private String clientSecret;

	@JsonProperty("GRANTTYPES")
	private String grantTypes;

	@JsonProperty("MODIFIEDBY")
	private String modifiedBy;

	@JsonProperty("MODIFIEDON")
	private String modifiedOn;

	@JsonProperty("REDIRECTURI")
	private String redirectUri;

	@JsonProperty("REFRESHTOKENVALIDITYSECONDS")
	private String refreshTokenValiditySeconds;

	@JsonProperty("RESOURCEIDS")
	private String resourceIds;

	@JsonProperty("SCOPE")
	private String scope;

	@JsonProperty("SECURITYKEY")
	private String securityKey;

	@JsonProperty("ORGID")
	private String orgId;

	@JsonProperty("ORGNAME")
	private String orgName;

	@JsonProperty("APPSTATUS")
	private String appStatus;

	@JsonProperty("DAILYTOKENLIMIT")
	private String dailyTokenLimit;

	@JsonProperty("APILIST")
	private List<ApiInterfaceUI> apiList = new ArrayList<>();
}
