package com.storlead.wecom.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import com.storlead.framework.mybatis.entity.SysBaseField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业微信secret配置
 * </p>
 *
 * @author chenkq
 * @since 2022-07-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("system_wechat_config")
public class SystemWechatConfigEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 企业ID
     */
    private String corpId;

    /**
     * 通讯录的密钥 这个是通讯录secret只能用来调用通讯录相关API使用
     */
    private String corpAddressSecret;

    /**
     * 应用ID
     */
    private String corpAgentId;

    /**
     * 应用秘钥
     */
    private String corpAgentSecret;

    /**
     * 微信回调地址
     */
    private String wechatMessageCallbackUrl;

}
