| | |
| | | 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) |
| | |
| | | @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 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) |
| | | @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_OTHER = 3; |
| | | /**联系我*/ |
| | | //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; |
| | | |
| | | public String getCorpId() { |
| | | return corpId; |
| | | } |
| | | |
| | | public void setCorpId(String corpId) { |
| | | this.corpId = corpId; |
| | | } |
| | | |
| | | public String getApplySecretKey() { |
| | | return applySecretKey; |
| | | } |
| | | |
| | | public void setApplySecretKey(String applySecretKey) { |
| | | this.applySecretKey = applySecretKey; |
| | | } |
| | | |
| | | public String getMpAppId() { |
| | | return mpAppId; |
| | | } |
| | | |
| | | public void setMpAppId(String mpAppId) { |
| | | this.mpAppId = mpAppId; |
| | | } |
| | | |
| | | public String getMpSecretKey() { |
| | | return mpSecretKey; |
| | | } |
| | | |
| | | public void setMpSecretKey(String mpSecretKey) { |
| | | this.mpSecretKey = mpSecretKey; |
| | | } |
| | | |
| | | public int getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(int type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getCommuniSecretKey() { |
| | | return communiSecretKey; |
| | | } |
| | | |
| | | public void setCommuniSecretKey(String communiSecretKey) { |
| | | this.communiSecretKey = communiSecretKey; |
| | | } |
| | | |
| | | public String getContactSecretKey() { |
| | | return contactSecretKey; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | } |