package com.chinaweal.aiccs.aiccs.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 批量吊销外部应用接入信息
 *
 * @author lroyia
 * @since 2026/1/12 16:25
 **/
@Data
@Accessors(chain = true)
@TableName("PENALTY_APP_INFO")
@ApiModel("批量吊销外部应用接入信息")
public class PenaltyAppInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * APP的key
     */
    @ApiModelProperty("APP的key")
    @TableId(value = "APP_KEY", type = IdType.ASSIGN_UUID)
    private String appKey;

    /**
     * APP访问秘钥
     */
    @ApiModelProperty("APP访问秘钥")
    @TableField("APP_SECRET")
    private String appSecret;

    /**
     * 外部应用接入描述
     */
    @ApiModelProperty("外部应用接入描述")
    @TableField("APP_DESCRIPTION")
    private String appDescription;
}
