package org.hzhub.workflow.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.hzhub.common.tenant.core.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 企业微信租户配置
 *
 * @author hzhub
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wecom_tenant_config")
public class WecomTenantConfig extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    /** 企业微信企业ID */
    private String corpid;

    /** 企业微信应用密钥 */
    private String corpsecret;

    /** 应用AgentID */
    private String agentId;

    /** 回调Token */
    private String callbackToken;

    /** 回调EncodingAESKey */
    private String callbackAesKey;

    /** 是否启用(0否 1是) */
    private String enabled;

    /** 备注 */
    private String remark;
}
