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

添加事项备注字段

parent 39799ccd
......@@ -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 '机具编码',
`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 '政务排号认证',
`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 '启用开关',
`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 '创建时间',
......
......@@ -10,62 +10,82 @@ import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.social.model.vo.SocialSecuritySetVo;
import lombok.Data;
/**
* 社保配置实体对象
*
* @author zxfei
* @date 2025-03-21
*/
* 社保配置实体对象
*
* @author zxfei
* @date 2025-03-21
*/
@Data
public class SocialSecuritySetEntity extends SocialSecuritySetVo {
private static final long serialVersionUID = 1L;
/**
* 站点id
*/
* 站点id
*/
private Long siteId;
/**
* 站点名称
*/
* 站点名称
*/
private String siteName;
/**
* 接入标识
*/
* 接入标识
*/
private String appid;
/**
* 渠道标识-应用标识
*/
* 渠道标识-应用标识
*/
private String accessKey;
/**
* 私钥
*/
* 私钥
*/
private String privatKey;
/**
* 渠道密钥
*/
* 渠道密钥
*/
private String key;
/**
* 机具编码
*/
* 机具编码
*/
private String az400;
/**
* 私钥
*/
* 私钥
*/
private String sm4key;
/**
* 政务排号认证
*/
* 政务排号认证
*/
private String serviceCode;
/**
* 启用开关
*/
* 启用开关
*/
private Integer enabled;
/**
* 短信签名
*/
* 短信签名
*/
private String remark;
/**
* 政务业务认证码
*/
private String busCode;
/**
* 机构名称
*/
private String orgName;
/**
* 机具使用地址
*/
private String address;
/**
* 区域码
*/
private String regionCode;
/**
* 统一社会信用代码
*/
private String orgCode;
@Override
public int hashCode() {
return this.getId().hashCode();
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
......@@ -73,23 +93,28 @@ public class SocialSecuritySetEntity extends SocialSecuritySetVo {
if (obj instanceof SocialSecuritySetEntity) {
SocialSecuritySetEntity tmp = (SocialSecuritySetEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
return true;
}
}
return false;
}
public void initAttrValue(){
this.siteId = null;
this.siteName = "";
this.appid = "";
this.accessKey = "";
this.privatKey = "";
this.key = "";
this.az400 = "";
this.sm4key = "";
this.serviceCode = "";
this.enabled = 1;
this.remark = "";
this.siteId = null;
this.siteName = "";
this.appid = "";
this.accessKey = "";
this.privatKey = "";
this.key = "";
this.az400 = "";
this.sm4key = "";
this.serviceCode = "";
this.enabled = 1;
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