package com.schisandra.system.infra.basic.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 *
 * @author landaiqing
 * @since 2024-05-25 23:08:26
 */
@Data
@Table("schisandra_sys_oauth")
public class SchisandraSysOauth implements Serializable {

    /**
     *
     */
    @Id(value = "id", keyType = KeyType.Auto)
    private Long id;

    /**
     * 类型
     */
    @Column("client_type")
    private String clientType;

    /**
     * Client Id
     */
    @Column("client_id")
    private String clientId;

    /**
     * Client Secret
     */
    @Column("client_secret")
    private String clientSecret;

    /**
     * 应用回调地址
     */
    @Column("redirect_uri")
    private String redirectUri;

    /**
     * Key
     */
    @Column("stack_overflow_Key")
    private String stackOverflowKey;

    /**
     * 团队名
     */
    @Column("domain_prefix")
    private String domainPrefix;

    /**
     * 目录(租户) ID
     */
    @Column("tenant_id")
    private String tenantId;

    /**
     *
     */
    @Column("alipay_public_key")
    private String alipayPublicKey;

    /**
     *
     */
    @Column("agent_id")
    private String agentId;

    /**
     * 创建人
     */
    @Column("created_by")
    private String createdBy;

    /**
     * 创建时间
     */
    @Column("created_time")
    private Date createdTime;

    /**
     * 更新时间
     */
    @Column("update_time")
    private Date updateTime;

    /**
     * 更新人
     */
    @Column("update_by")
    private String updateBy;

    /**
     * 是否删除 0 未删除 1已删除
     */
    @Column("is_deleted")
    private Integer isDeleted;

    /**
     * 状态
     */
    @Column("status")
    private String status;

}

