package com.hx.phip.model; import com.gitee.sunchenbin.mybatis.actable.annotation.Column; import com.gitee.sunchenbin.mybatis.actable.annotation.Table; import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant; import com.hx.phiappt.model.BaseEntity; import lombok.Data; /** * 应用数据 * */ @Table(name = "pla_apply_parameter") @Data public class ApplyParameter extends BaseEntity { @Column(comment = "名称", length = 64, type = MySqlTypeConstant.VARCHAR,isNull = false) private String name; @Column(comment = "自定义标识(小程序appId/其他应用id/或者对应标识)", length = 64, type = MySqlTypeConstant.VARCHAR,isNull = false) private String uniqueCode; @Column(comment = "数据类型", length = 3, type = MySqlTypeConstant.INT,isNull = false) private int type; /****企业微信信息*****/ @Column(comment = "企业微信id", length = 64, type = MySqlTypeConstant.VARCHAR) private String corpId; @Column(comment = "企业微信通讯录秘钥(AES加密)", length = 255, type = MySqlTypeConstant.VARCHAR) private String communiSecretKey; @Column(comment = "企业微信联系我秘钥(AES加密)", length = 255, type = MySqlTypeConstant.VARCHAR) private String contactSecretKey; /****公众号信息****/ @Column(comment = "公众号appId", length = 64, type = MySqlTypeConstant.VARCHAR) private String weChatAppId; @Column(comment = "公众号秘钥(AES加密)", length = 255, type = MySqlTypeConstant.VARCHAR) private String weChatSecretKey; /****小程序信息****/ @Column(comment = "小程序appId/其他应用id", length = 64, type = MySqlTypeConstant.VARCHAR) private String mpAppId; @Column(comment = "小程序秘钥(AES加密)", length = 255, type = MySqlTypeConstant.VARCHAR) private String mpSecretKey; @Column(comment = "企业微信应用/小程序秘钥(AES加密)", length = 255, type = MySqlTypeConstant.VARCHAR) private String applySecretKey; /****HIS信息****/ @Column(comment = "HIS账号appId", length = 64, type = MySqlTypeConstant.VARCHAR) private String hisAppId; @Column(comment = "HIS账秘钥", length = 255, type = MySqlTypeConstant.VARCHAR) private String hisSecretKey; @Column(comment = "HIS账号code", length = 255, type = MySqlTypeConstant.VARCHAR) private String hisCode; @Column(comment = "备注信息", length = 255, type = MySqlTypeConstant.VARCHAR) private String remarkInfo; public ApplyParameter() { } /////////////////////////////////////////////////// /**企业小程序应用*/ public static final int TYPE_CORP_MP = 0; /**企业微信信息*/ public static final int TYPE_CORP_COMMUNICATION = 1; /**联系我*/ //public static final int TYPE_CORP_CONTACT = 2; /**HIS账号信息*/ public static final int TYPE_HIS_ACCOUNT = 3; /**公众号*/ public static final int TYPE_WE_CHAT= 4; }