package com.zhangmeng.model.entity;

import com.zhangmeng.model.base.baseEntity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author zhengmeng
 * @version 1.0
 * @date 2021年1月7日17:44:40
 */
@NoArgsConstructor
@Data
@AllArgsConstructor
@Entity
@EqualsAndHashCode(callSuper = false)
@Table(name = "oauth_config")
public class OauthConfig extends BaseEntity<Long> {

    private Integer ttl;

    private String clientId;

    private String clientSecret;

    private String cookieDomain;

    private Integer cookieMaxAge;
}
