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

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class OutboundOAuthCredentialUI {
    private String adapterGroupName;

    private String grantType;

    private String url;

    private String clientId;

    private String clientSecret;

    private String scope;

    private String redirectUri;

    private int intervalSec;

    private String useYn;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
}
