package com.yuchen.saas.manage.system.api.entity.applet;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

/**
 * <p>
 * 微信平台关注信息
 * </p>
 *
 * @author zhouhanwei
 * @since 2024-01-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_apply_info_data")
@ApiModel(value="SaasApplyInfoData对象", description="微信平台关注信息")
public class SaasApplyInfoData extends TenantEntity {

    /**
     * 1：pcWEB端，2：PC客户端，3：移动APP端，4：微信小程序，5：微信公众号，6：支付宝小程序，7：支付宝商户号
     */
    @ApiModelProperty(name = "appType", value = "1：pcWEB端，2：PC客户端，3：移动APP端，4：微信小程序，5：微信公众号，6：支付宝小程序，7：支付宝商户号")
    private String appType;
    /**
     * 应用名称
     */
    @ApiModelProperty(name = "appName", value = "应用名称")
    private String appName;
    /**
     * 应用appId
     */
    @ApiModelProperty(name = "appId", value = "应用appId")
    private String appId;
    /**
     * 密钥
     */
    @ApiModelProperty(name = "appSecret", value = "密钥")
    private String appSecret;
    /**
     * 类型（1：正式，2：测试）
     */
    @ApiModelProperty(name = "appFlag", value = "类型（1：正式，2：测试）")
    private String appFlag;
    /**
     * 企业id
     */
    @ApiModelProperty(name = "companyId", value = "企业id")
    private Long companyId;
    /**
     * 企业名称
     */
    @ApiModelProperty(name = "companyName", value = "企业名称")
    private String companyName;

    /**
     * 绑定小程序的miniAppId
     */
    @ApiModelProperty(name = "miniAppId", value = "绑定小程序的miniAppId")
    private String miniAppId;

    /**
     * 绑定小程序的miniApplyId
     */
    @ApiModelProperty(name = "miniApplyId", value = "绑定小程序的miniApplyId")
    private Long miniApplyId;


    /**
     * 绑定小程序名称
     */
    @ApiModelProperty(name = "miniName", value = "绑定小程序名称")
    private String miniName;

    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;



}
