package com.css.txw.sso.pojo.domain.oauth2;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.css.ggzc.framework.mybatis.core.dataobject.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * OAuth2 客户端 DO
 *
 * @author 芋道源码
 */
@TableName(value = "txw_sso_client", autoResultMap = true)
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class OAuth2ClientDO extends BaseDO {

    /**
     * UUID||uuid
     */
    @TableId(value = "uuid")
    private String uuid;

    /**
     * 客户端ID
     */
    @TableField(value = "clientid")
    private String clientid;

    /**
     * 授权密钥||授权密钥
     */
    @TableField(value = "sqmy")
    private String sqmy;

    /**
     * 有效标志
     */
    @TableField(value = "yxbz")
    private String yxbz;

    /**
     * 访问令牌有效期||访问令牌有效期
     */
    @TableField(value = "fwlpyxq")
    private String fwlpyxq;

    /**
     * 刷新令牌有效期||刷新令牌有效期
     */
    @TableField(value = "sxlpyxq")
    private String sxlpyxq;

    /**
     * 重定向地址||重定向地址
     */
    @TableField(value = "cdxdz")
    private String cdxdz;

    /**
     * 授权内容||授权内容
     */
    @TableField(value = "sqnr")
    private String sqnr;

    @TableField(value = "sm_1")
    private String sm1;

    @TableField(value = "dcdz")
    private String dcdz;
}
