| | |
| | | |
| | | import com.gitee.sunchenbin.mybatis.actable.annotation.Column; |
| | | import com.gitee.sunchenbin.mybatis.actable.annotation.Table; |
| | | import com.gitee.sunchenbin.mybatis.actable.annotation.Unique; |
| | | import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant; |
| | | import com.hx.phiappt.model.BaseEntity; |
| | | |
| | | /** |
| | | * 应用数据 |
| | | * |
| | | */ |
| | | @Table(name = "pla_apply_parameter") |
| | | 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 = "数据类型", length = 5, type = MySqlTypeConstant.INT,isNull = false) |
| | | private int type; |
| | | |
| | | @Column(comment = "企业微信通讯录秘钥(AES加密)", length = 255, type = MySqlTypeConstant.VARCHAR) |
| | | private String communiSecretKey; |
| | | @Column(comment = "企业微信联系我秘钥(AES加密)", length = 255, type = MySqlTypeConstant.VARCHAR) |
| | | private String contactSecretKey; |
| | | |
| | | @Column(comment = "企业微信应用秘钥(AES加密)", length = 255, type = MySqlTypeConstant.VARCHAR) |
| | | private String applySecretKey; |
| | | @Column(comment = "小程序appId", length = 64, type = MySqlTypeConstant.VARCHAR) |
| | | @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; |
| | | |
| | | public ApplyParameter() { |
| | | } |
| | |
| | | public static final int TYPE_CORP_COMMUNICATION = 1; |
| | | /**联系我*/ |
| | | public static final int TYPE_CORP_CONTACT = 2; |
| | | |
| | | |
| | | /**其他*/ |
| | | public static final int TYPE_OTHER = 3; |
| | | |
| | | public String getCorpId() { |
| | | return corpId; |
| | |
| | | public void setContactSecretKey(String contactSecretKey) { |
| | | this.contactSecretKey = contactSecretKey; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getUniqueCode() { |
| | | return uniqueCode; |
| | | } |
| | | |
| | | public void setUniqueCode(String uniqueCode) { |
| | | this.uniqueCode = uniqueCode; |
| | | } |
| | | } |