Commit 53e6a34e authored by 赵啸非's avatar 赵啸非

添加事项备注字段

parent 39799ccd
...@@ -348,6 +348,11 @@ CREATE TABLE `mortals_sys_social_security_set` ( ...@@ -348,6 +348,11 @@ CREATE TABLE `mortals_sys_social_security_set` (
`az400` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机具编码', `az400` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机具编码',
`sm4key` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '私钥', `sm4key` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '私钥',
`serviceCode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '政务排号认证', `serviceCode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '政务排号认证',
`bus_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '政务业务认证码',
`orgName` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构名称',
`address` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机具使用地址',
`regionCode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区域码',
`orgCode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '统一社会信用代码',
`enabled` tinyint(1) NULL DEFAULT 1 COMMENT '启用开关', `enabled` tinyint(1) NULL DEFAULT 1 COMMENT '启用开关',
`remark` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '短信签名', `remark` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '短信签名',
`createTime` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '创建时间', `createTime` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '创建时间',
......
...@@ -10,62 +10,82 @@ import com.mortals.framework.model.BaseEntityLong; ...@@ -10,62 +10,82 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.social.model.vo.SocialSecuritySetVo; import com.mortals.xhx.module.social.model.vo.SocialSecuritySetVo;
import lombok.Data; import lombok.Data;
/** /**
* 社保配置实体对象 * 社保配置实体对象
* *
* @author zxfei * @author zxfei
* @date 2025-03-21 * @date 2025-03-21
*/ */
@Data @Data
public class SocialSecuritySetEntity extends SocialSecuritySetVo { public class SocialSecuritySetEntity extends SocialSecuritySetVo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* 站点id * 站点id
*/ */
private Long siteId; private Long siteId;
/** /**
* 站点名称 * 站点名称
*/ */
private String siteName; private String siteName;
/** /**
* 接入标识 * 接入标识
*/ */
private String appid; private String appid;
/** /**
* 渠道标识-应用标识 * 渠道标识-应用标识
*/ */
private String accessKey; private String accessKey;
/** /**
* 私钥 * 私钥
*/ */
private String privatKey; private String privatKey;
/** /**
* 渠道密钥 * 渠道密钥
*/ */
private String key; private String key;
/** /**
* 机具编码 * 机具编码
*/ */
private String az400; private String az400;
/** /**
* 私钥 * 私钥
*/ */
private String sm4key; private String sm4key;
/** /**
* 政务排号认证 * 政务排号认证
*/ */
private String serviceCode; private String serviceCode;
/** /**
* 启用开关 * 启用开关
*/ */
private Integer enabled; private Integer enabled;
/** /**
* 短信签名 * 短信签名
*/ */
private String remark; private String remark;
/**
* 政务业务认证码
*/
private String busCode;
/**
* 机构名称
*/
private String orgName;
/**
* 机具使用地址
*/
private String address;
/**
* 区域码
*/
private String regionCode;
/**
* 统一社会信用代码
*/
private String orgCode;
@Override @Override
public int hashCode() { public int hashCode() {
return this.getId().hashCode(); return this.getId().hashCode();
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
...@@ -73,23 +93,28 @@ public class SocialSecuritySetEntity extends SocialSecuritySetVo { ...@@ -73,23 +93,28 @@ public class SocialSecuritySetEntity extends SocialSecuritySetVo {
if (obj instanceof SocialSecuritySetEntity) { if (obj instanceof SocialSecuritySetEntity) {
SocialSecuritySetEntity tmp = (SocialSecuritySetEntity) obj; SocialSecuritySetEntity tmp = (SocialSecuritySetEntity) obj;
if (this.getId() == tmp.getId()) { if (this.getId() == tmp.getId()) {
return true; return true;
} }
} }
return false; return false;
} }
public void initAttrValue(){ public void initAttrValue(){
this.siteId = null; this.siteId = null;
this.siteName = ""; this.siteName = "";
this.appid = ""; this.appid = "";
this.accessKey = ""; this.accessKey = "";
this.privatKey = ""; this.privatKey = "";
this.key = ""; this.key = "";
this.az400 = ""; this.az400 = "";
this.sm4key = ""; this.sm4key = "";
this.serviceCode = ""; this.serviceCode = "";
this.enabled = 1; this.enabled = 1;
this.remark = ""; this.remark = "";
this.busCode = "";
this.orgName = "";
this.address = "";
this.regionCode = "";
this.orgCode = "";
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment