Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
operation-control-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王锦盛
operation-control-platform
Commits
865bfbe7
Commit
865bfbe7
authored
Mar 09, 2022
by
zhaochengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赵呈明--应用库实体类
parent
3e9e5ef0
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1803 additions
and
0 deletions
+1803
-0
src/main/java/com/pms/ocp/model/entity/OcpTenantAudit.java
src/main/java/com/pms/ocp/model/entity/OcpTenantAudit.java
+310
-0
src/main/java/com/pms/ocp/model/entity/OcpTenantBase.java
src/main/java/com/pms/ocp/model/entity/OcpTenantBase.java
+540
-0
src/main/java/com/pms/ocp/model/entity/OcpTenantExtent.java
src/main/java/com/pms/ocp/model/entity/OcpTenantExtent.java
+333
-0
src/main/java/com/pms/ocp/model/entity/OcpTenantGroup.java
src/main/java/com/pms/ocp/model/entity/OcpTenantGroup.java
+379
-0
src/main/java/com/pms/ocp/model/entity/OcpTenantSubs.java
src/main/java/com/pms/ocp/model/entity/OcpTenantSubs.java
+241
-0
No files found.
src/main/java/com/pms/ocp/model/entity/OcpTenantAudit.java
0 → 100644
View file @
865bfbe7
package
com.pms.ocp.model.entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 应用事记表
* @TableName ocp_tenant_audit
*/
@Data
@Accessors
(
chain
=
true
)
@TableName
(
"ocp_tenant_audit"
)
@ApiModel
(
"应用事记表1"
)
public
class
OcpTenantAudit
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
"主键ID"
)
private
String
objId
;
/**
* 应用code
*/
@ApiModelProperty
(
"应用code"
)
private
String
tenantCode
;
/**
* 操作状态0:新增,1:迭代;2,下线
*/
@ApiModelProperty
(
"操作状态0:新增,1:迭代;2,下线"
)
private
Short
operStatus
;
/**
* 类型0:人工操作,1:流程管控,3:总部下发
*/
@ApiModelProperty
(
"类型0:人工操作,1:流程管控,3:总部下发"
)
private
Short
auditType
;
/**
* 备注简述
*/
@ApiModelProperty
(
"备注简述"
)
private
String
auditMessage
;
/**
* 应用事记内容
*/
@ApiModelProperty
(
"应用事记内容"
)
private
String
auditJson
;
/**
* 提交人id
*/
@ApiModelProperty
(
"提交人id"
)
private
String
auditUserId
;
/**
* 提交人姓名
*/
@ApiModelProperty
(
"提交人姓名"
)
private
String
auditUserName
;
/**
* 创建时间
*/
@ApiModelProperty
(
"创建时间"
)
private
Date
auditCtime
;
/**
* 应用版本(当前版本)
*/
@ApiModelProperty
(
" 应用版本(当前版本"
)
private
String
applyVersion
;
/**
* 上一版本
*/
@ApiModelProperty
(
"上一版本"
)
private
String
perTenantVersion
;
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
public
String
getObjId
()
{
return
objId
;
}
/**
* 主键
*/
public
void
setObjId
(
String
objId
)
{
this
.
objId
=
objId
;
}
/**
* 应用code
*/
public
String
getTenantCode
()
{
return
tenantCode
;
}
/**
* 应用code
*/
public
void
setTenantCode
(
String
tenantCode
)
{
this
.
tenantCode
=
tenantCode
;
}
/**
* 操作状态0:新增,1:迭代;2,下线
*/
public
Short
getOperStatus
()
{
return
operStatus
;
}
/**
* 操作状态0:新增,1:迭代;2,下线
*/
public
void
setOperStatus
(
Short
operStatus
)
{
this
.
operStatus
=
operStatus
;
}
/**
* 类型0:人工操作,1:流程管控,3:总部下发
*/
public
Short
getAuditType
()
{
return
auditType
;
}
/**
* 类型0:人工操作,1:流程管控,3:总部下发
*/
public
void
setAuditType
(
Short
auditType
)
{
this
.
auditType
=
auditType
;
}
/**
* 备注简述
*/
public
String
getAuditMessage
()
{
return
auditMessage
;
}
/**
* 备注简述
*/
public
void
setAuditMessage
(
String
auditMessage
)
{
this
.
auditMessage
=
auditMessage
;
}
/**
* 应用事记内容
*/
public
String
getAuditJson
()
{
return
auditJson
;
}
/**
* 应用事记内容
*/
public
void
setAuditJson
(
String
auditJson
)
{
this
.
auditJson
=
auditJson
;
}
/**
* 提交人id
*/
public
String
getAuditUserId
()
{
return
auditUserId
;
}
/**
* 提交人id
*/
public
void
setAuditUserId
(
String
auditUserId
)
{
this
.
auditUserId
=
auditUserId
;
}
/**
* 提交人姓名
*/
public
String
getAuditUserName
()
{
return
auditUserName
;
}
/**
* 提交人姓名
*/
public
void
setAuditUserName
(
String
auditUserName
)
{
this
.
auditUserName
=
auditUserName
;
}
/**
* 创建时间
*/
public
Date
getAuditCtime
()
{
return
auditCtime
;
}
/**
* 创建时间
*/
public
void
setAuditCtime
(
Date
auditCtime
)
{
this
.
auditCtime
=
auditCtime
;
}
/**
* 应用版本(当前版本)
*/
public
String
getApplyVersion
()
{
return
applyVersion
;
}
/**
* 应用版本(当前版本)
*/
public
void
setApplyVersion
(
String
applyVersion
)
{
this
.
applyVersion
=
applyVersion
;
}
/**
* 上一版本
*/
public
String
getPerTenantVersion
()
{
return
perTenantVersion
;
}
/**
* 上一版本
*/
public
void
setPerTenantVersion
(
String
perTenantVersion
)
{
this
.
perTenantVersion
=
perTenantVersion
;
}
@Override
public
boolean
equals
(
Object
that
)
{
if
(
this
==
that
)
{
return
true
;
}
if
(
that
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
that
.
getClass
())
{
return
false
;
}
OcpTenantAudit
other
=
(
OcpTenantAudit
)
that
;
return
(
this
.
getObjId
()
==
null
?
other
.
getObjId
()
==
null
:
this
.
getObjId
().
equals
(
other
.
getObjId
()))
&&
(
this
.
getTenantCode
()
==
null
?
other
.
getTenantCode
()
==
null
:
this
.
getTenantCode
().
equals
(
other
.
getTenantCode
()))
&&
(
this
.
getOperStatus
()
==
null
?
other
.
getOperStatus
()
==
null
:
this
.
getOperStatus
().
equals
(
other
.
getOperStatus
()))
&&
(
this
.
getAuditType
()
==
null
?
other
.
getAuditType
()
==
null
:
this
.
getAuditType
().
equals
(
other
.
getAuditType
()))
&&
(
this
.
getAuditMessage
()
==
null
?
other
.
getAuditMessage
()
==
null
:
this
.
getAuditMessage
().
equals
(
other
.
getAuditMessage
()))
&&
(
this
.
getAuditJson
()
==
null
?
other
.
getAuditJson
()
==
null
:
this
.
getAuditJson
().
equals
(
other
.
getAuditJson
()))
&&
(
this
.
getAuditUserId
()
==
null
?
other
.
getAuditUserId
()
==
null
:
this
.
getAuditUserId
().
equals
(
other
.
getAuditUserId
()))
&&
(
this
.
getAuditUserName
()
==
null
?
other
.
getAuditUserName
()
==
null
:
this
.
getAuditUserName
().
equals
(
other
.
getAuditUserName
()))
&&
(
this
.
getAuditCtime
()
==
null
?
other
.
getAuditCtime
()
==
null
:
this
.
getAuditCtime
().
equals
(
other
.
getAuditCtime
()))
&&
(
this
.
getApplyVersion
()
==
null
?
other
.
getApplyVersion
()
==
null
:
this
.
getApplyVersion
().
equals
(
other
.
getApplyVersion
()))
&&
(
this
.
getPerTenantVersion
()
==
null
?
other
.
getPerTenantVersion
()
==
null
:
this
.
getPerTenantVersion
().
equals
(
other
.
getPerTenantVersion
()));
}
@Override
public
int
hashCode
()
{
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
getObjId
()
==
null
)
?
0
:
getObjId
().
hashCode
());
result
=
prime
*
result
+
((
getTenantCode
()
==
null
)
?
0
:
getTenantCode
().
hashCode
());
result
=
prime
*
result
+
((
getOperStatus
()
==
null
)
?
0
:
getOperStatus
().
hashCode
());
result
=
prime
*
result
+
((
getAuditType
()
==
null
)
?
0
:
getAuditType
().
hashCode
());
result
=
prime
*
result
+
((
getAuditMessage
()
==
null
)
?
0
:
getAuditMessage
().
hashCode
());
result
=
prime
*
result
+
((
getAuditJson
()
==
null
)
?
0
:
getAuditJson
().
hashCode
());
result
=
prime
*
result
+
((
getAuditUserId
()
==
null
)
?
0
:
getAuditUserId
().
hashCode
());
result
=
prime
*
result
+
((
getAuditUserName
()
==
null
)
?
0
:
getAuditUserName
().
hashCode
());
result
=
prime
*
result
+
((
getAuditCtime
()
==
null
)
?
0
:
getAuditCtime
().
hashCode
());
result
=
prime
*
result
+
((
getApplyVersion
()
==
null
)
?
0
:
getApplyVersion
().
hashCode
());
result
=
prime
*
result
+
((
getPerTenantVersion
()
==
null
)
?
0
:
getPerTenantVersion
().
hashCode
());
return
result
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", objId="
).
append
(
objId
);
sb
.
append
(
", tenantCode="
).
append
(
tenantCode
);
sb
.
append
(
", operStatus="
).
append
(
operStatus
);
sb
.
append
(
", auditType="
).
append
(
auditType
);
sb
.
append
(
", auditMessage="
).
append
(
auditMessage
);
sb
.
append
(
", auditJson="
).
append
(
auditJson
);
sb
.
append
(
", auditUserId="
).
append
(
auditUserId
);
sb
.
append
(
", auditUserName="
).
append
(
auditUserName
);
sb
.
append
(
", auditCtime="
).
append
(
auditCtime
);
sb
.
append
(
", applyVersion="
).
append
(
applyVersion
);
sb
.
append
(
", perTenantVersion="
).
append
(
perTenantVersion
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
src/main/java/com/pms/ocp/model/entity/OcpTenantBase.java
0 → 100644
View file @
865bfbe7
This diff is collapsed.
Click to expand it.
src/main/java/com/pms/ocp/model/entity/OcpTenantExtent.java
0 → 100644
View file @
865bfbe7
package
com.pms.ocp.model.entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 应用扩展信息表
* @TableName ocp_tenant_extent
*/
@Data
@Accessors
(
chain
=
true
)
@TableName
(
"ocp_tenant_extent"
)
@ApiModel
(
"应用扩展信息表1"
)
public
class
OcpTenantExtent
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
"主键ID"
)
private
String
objId
;
/**
* 服务编码
*/
@ApiModelProperty
(
"服务编码"
)
private
String
tenantCode
;
/**
* 部署公司
*/
@ApiModelProperty
(
"部署公司"
)
private
String
depCompanyCode
;
/**
* 是否已删除
*/
@ApiModelProperty
(
"是否已删除"
)
private
Short
isDelete
;
/**
* 集群名称
*/
@ApiModelProperty
(
"集群名称"
)
private
String
clusterName
;
/**
* 命名空间
*/
@ApiModelProperty
(
"命名空间"
)
private
String
spaceName
;
/**
* db大小
*/
@ApiModelProperty
(
"db大小"
)
private
String
dbSize
;
/**
* 部署名称
*/
@ApiModelProperty
(
"部署名称"
)
private
String
deploymentName
;
/**
* 描述
*/
@ApiModelProperty
(
"描述"
)
private
String
tenantDescription
;
/**
* 应用状态 0:已发布 1:未发布
*/
@ApiModelProperty
(
"应用状态 0:已发布 1:未发布"
)
private
Short
tenantState
;
/**
* 添加时间
*/
@ApiModelProperty
(
"添加时间"
)
private
Date
tenantCtime
;
/**
* 修改时间
*/
@ApiModelProperty
(
"修改时间"
)
private
Date
tenantMtime
;
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
public
String
getObjId
()
{
return
objId
;
}
/**
* 主键
*/
public
void
setObjId
(
String
objId
)
{
this
.
objId
=
objId
;
}
/**
* 服务编码
*/
public
String
getTenantCode
()
{
return
tenantCode
;
}
/**
* 服务编码
*/
public
void
setTenantCode
(
String
tenantCode
)
{
this
.
tenantCode
=
tenantCode
;
}
/**
* 部署公司
*/
public
String
getDepCompanyCode
()
{
return
depCompanyCode
;
}
/**
* 部署公司
*/
public
void
setDepCompanyCode
(
String
depCompanyCode
)
{
this
.
depCompanyCode
=
depCompanyCode
;
}
/**
* 是否已删除
*/
public
Short
getIsDelete
()
{
return
isDelete
;
}
/**
* 是否已删除
*/
public
void
setIsDelete
(
Short
isDelete
)
{
this
.
isDelete
=
isDelete
;
}
/**
* 集群名称
*/
public
String
getClusterName
()
{
return
clusterName
;
}
/**
* 集群名称
*/
public
void
setClusterName
(
String
clusterName
)
{
this
.
clusterName
=
clusterName
;
}
/**
* 命名空间
*/
public
String
getSpaceName
()
{
return
spaceName
;
}
/**
* 命名空间
*/
public
void
setSpaceName
(
String
spaceName
)
{
this
.
spaceName
=
spaceName
;
}
/**
* db大小
*/
public
String
getDbSize
()
{
return
dbSize
;
}
/**
* db大小
*/
public
void
setDbSize
(
String
dbSize
)
{
this
.
dbSize
=
dbSize
;
}
/**
* 部署名称
*/
public
String
getDeploymentName
()
{
return
deploymentName
;
}
/**
* 部署名称
*/
public
void
setDeploymentName
(
String
deploymentName
)
{
this
.
deploymentName
=
deploymentName
;
}
/**
* 描述
*/
public
String
getTenantDescription
()
{
return
tenantDescription
;
}
/**
* 描述
*/
public
void
setTenantDescription
(
String
tenantDescription
)
{
this
.
tenantDescription
=
tenantDescription
;
}
/**
* 应用状态 0:已发布 1:未发布
*/
public
Short
getTenantState
()
{
return
tenantState
;
}
/**
* 应用状态 0:已发布 1:未发布
*/
public
void
setTenantState
(
Short
tenantState
)
{
this
.
tenantState
=
tenantState
;
}
/**
* 添加时间
*/
public
Date
getTenantCtime
()
{
return
tenantCtime
;
}
/**
* 添加时间
*/
public
void
setTenantCtime
(
Date
tenantCtime
)
{
this
.
tenantCtime
=
tenantCtime
;
}
/**
* 修改时间
*/
public
Date
getTenantMtime
()
{
return
tenantMtime
;
}
/**
* 修改时间
*/
public
void
setTenantMtime
(
Date
tenantMtime
)
{
this
.
tenantMtime
=
tenantMtime
;
}
@Override
public
boolean
equals
(
Object
that
)
{
if
(
this
==
that
)
{
return
true
;
}
if
(
that
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
that
.
getClass
())
{
return
false
;
}
OcpTenantExtent
other
=
(
OcpTenantExtent
)
that
;
return
(
this
.
getObjId
()
==
null
?
other
.
getObjId
()
==
null
:
this
.
getObjId
().
equals
(
other
.
getObjId
()))
&&
(
this
.
getTenantCode
()
==
null
?
other
.
getTenantCode
()
==
null
:
this
.
getTenantCode
().
equals
(
other
.
getTenantCode
()))
&&
(
this
.
getDepCompanyCode
()
==
null
?
other
.
getDepCompanyCode
()
==
null
:
this
.
getDepCompanyCode
().
equals
(
other
.
getDepCompanyCode
()))
&&
(
this
.
getIsDelete
()
==
null
?
other
.
getIsDelete
()
==
null
:
this
.
getIsDelete
().
equals
(
other
.
getIsDelete
()))
&&
(
this
.
getClusterName
()
==
null
?
other
.
getClusterName
()
==
null
:
this
.
getClusterName
().
equals
(
other
.
getClusterName
()))
&&
(
this
.
getSpaceName
()
==
null
?
other
.
getSpaceName
()
==
null
:
this
.
getSpaceName
().
equals
(
other
.
getSpaceName
()))
&&
(
this
.
getDbSize
()
==
null
?
other
.
getDbSize
()
==
null
:
this
.
getDbSize
().
equals
(
other
.
getDbSize
()))
&&
(
this
.
getDeploymentName
()
==
null
?
other
.
getDeploymentName
()
==
null
:
this
.
getDeploymentName
().
equals
(
other
.
getDeploymentName
()))
&&
(
this
.
getTenantDescription
()
==
null
?
other
.
getTenantDescription
()
==
null
:
this
.
getTenantDescription
().
equals
(
other
.
getTenantDescription
()))
&&
(
this
.
getTenantState
()
==
null
?
other
.
getTenantState
()
==
null
:
this
.
getTenantState
().
equals
(
other
.
getTenantState
()))
&&
(
this
.
getTenantCtime
()
==
null
?
other
.
getTenantCtime
()
==
null
:
this
.
getTenantCtime
().
equals
(
other
.
getTenantCtime
()))
&&
(
this
.
getTenantMtime
()
==
null
?
other
.
getTenantMtime
()
==
null
:
this
.
getTenantMtime
().
equals
(
other
.
getTenantMtime
()));
}
@Override
public
int
hashCode
()
{
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
getObjId
()
==
null
)
?
0
:
getObjId
().
hashCode
());
result
=
prime
*
result
+
((
getTenantCode
()
==
null
)
?
0
:
getTenantCode
().
hashCode
());
result
=
prime
*
result
+
((
getDepCompanyCode
()
==
null
)
?
0
:
getDepCompanyCode
().
hashCode
());
result
=
prime
*
result
+
((
getIsDelete
()
==
null
)
?
0
:
getIsDelete
().
hashCode
());
result
=
prime
*
result
+
((
getClusterName
()
==
null
)
?
0
:
getClusterName
().
hashCode
());
result
=
prime
*
result
+
((
getSpaceName
()
==
null
)
?
0
:
getSpaceName
().
hashCode
());
result
=
prime
*
result
+
((
getDbSize
()
==
null
)
?
0
:
getDbSize
().
hashCode
());
result
=
prime
*
result
+
((
getDeploymentName
()
==
null
)
?
0
:
getDeploymentName
().
hashCode
());
result
=
prime
*
result
+
((
getTenantDescription
()
==
null
)
?
0
:
getTenantDescription
().
hashCode
());
result
=
prime
*
result
+
((
getTenantState
()
==
null
)
?
0
:
getTenantState
().
hashCode
());
result
=
prime
*
result
+
((
getTenantCtime
()
==
null
)
?
0
:
getTenantCtime
().
hashCode
());
result
=
prime
*
result
+
((
getTenantMtime
()
==
null
)
?
0
:
getTenantMtime
().
hashCode
());
return
result
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", objId="
).
append
(
objId
);
sb
.
append
(
", tenantCode="
).
append
(
tenantCode
);
sb
.
append
(
", depCompanyCode="
).
append
(
depCompanyCode
);
sb
.
append
(
", isDelete="
).
append
(
isDelete
);
sb
.
append
(
", clusterName="
).
append
(
clusterName
);
sb
.
append
(
", spaceName="
).
append
(
spaceName
);
sb
.
append
(
", dbSize="
).
append
(
dbSize
);
sb
.
append
(
", deploymentName="
).
append
(
deploymentName
);
sb
.
append
(
", tenantDescription="
).
append
(
tenantDescription
);
sb
.
append
(
", tenantState="
).
append
(
tenantState
);
sb
.
append
(
", tenantCtime="
).
append
(
tenantCtime
);
sb
.
append
(
", tenantMtime="
).
append
(
tenantMtime
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
src/main/java/com/pms/ocp/model/entity/OcpTenantGroup.java
0 → 100644
View file @
865bfbe7
This diff is collapsed.
Click to expand it.
src/main/java/com/pms/ocp/model/entity/OcpTenantSubs.java
0 → 100644
View file @
865bfbe7
package
com.pms.ocp.model.entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 应用订阅记录表
* @TableName ocp_tenant_subs
*/
@Data
@Accessors
(
chain
=
true
)
@TableName
(
"ocp_tenant_subs"
)
@ApiModel
(
"应用订阅记录表1"
)
public
class
OcpTenantSubs
implements
Serializable
{
/**
* 关系ID
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
"关系ID"
)
private
String
objId
;
/**
* 服务编码
*/
@ApiModelProperty
(
"服务编码"
)
private
String
tenantCode
;
/**
* 订阅公司编码
*/
@ApiModelProperty
(
"订阅公司编码"
)
private
String
subsCompanyCode
;
/**
* 服务订阅创建时间
*/
@ApiModelProperty
(
"服务订阅创建时间"
)
private
Date
subsLogTenantCtime
;
/**
* 服务订阅修改时间
*/
@ApiModelProperty
(
"服务订阅修改时间"
)
private
Date
subsLogTenantMtime
;
/**
* 服务订阅创建用户ID
*/
@ApiModelProperty
(
"服务订阅创建用户ID"
)
private
String
subsLogTenantUserId
;
/**
* 服务订阅添加时间
*/
@ApiModelProperty
(
"服务订阅添加时间"
)
private
Date
subsLogTenantAtime
;
/**
* 是否删除0-否,1-是
*/
@ApiModelProperty
(
"是否删除0-否,1-是"
)
private
Short
isDelete
;
private
static
final
long
serialVersionUID
=
1L
;
/**
* 关系ID
*/
public
String
getObjId
()
{
return
objId
;
}
/**
* 关系ID
*/
public
void
setObjId
(
String
objId
)
{
this
.
objId
=
objId
;
}
/**
* 服务编码
*/
public
String
getTenantCode
()
{
return
tenantCode
;
}
/**
* 服务编码
*/
public
void
setTenantCode
(
String
tenantCode
)
{
this
.
tenantCode
=
tenantCode
;
}
/**
* 订阅公司编码
*/
public
String
getSubsCompanyCode
()
{
return
subsCompanyCode
;
}
/**
* 订阅公司编码
*/
public
void
setSubsCompanyCode
(
String
subsCompanyCode
)
{
this
.
subsCompanyCode
=
subsCompanyCode
;
}
/**
* 服务订阅创建时间
*/
public
Date
getSubsLogTenantCtime
()
{
return
subsLogTenantCtime
;
}
/**
* 服务订阅创建时间
*/
public
void
setSubsLogTenantCtime
(
Date
subsLogTenantCtime
)
{
this
.
subsLogTenantCtime
=
subsLogTenantCtime
;
}
/**
* 服务订阅修改时间
*/
public
Date
getSubsLogTenantMtime
()
{
return
subsLogTenantMtime
;
}
/**
* 服务订阅修改时间
*/
public
void
setSubsLogTenantMtime
(
Date
subsLogTenantMtime
)
{
this
.
subsLogTenantMtime
=
subsLogTenantMtime
;
}
/**
* 服务订阅创建用户ID
*/
public
String
getSubsLogTenantUserId
()
{
return
subsLogTenantUserId
;
}
/**
* 服务订阅创建用户ID
*/
public
void
setSubsLogTenantUserId
(
String
subsLogTenantUserId
)
{
this
.
subsLogTenantUserId
=
subsLogTenantUserId
;
}
/**
* 服务订阅添加时间
*/
public
Date
getSubsLogTenantAtime
()
{
return
subsLogTenantAtime
;
}
/**
* 服务订阅添加时间
*/
public
void
setSubsLogTenantAtime
(
Date
subsLogTenantAtime
)
{
this
.
subsLogTenantAtime
=
subsLogTenantAtime
;
}
/**
* 是否删除0-否,1-是
*/
public
Short
getIsDelete
()
{
return
isDelete
;
}
/**
* 是否删除0-否,1-是
*/
public
void
setIsDelete
(
Short
isDelete
)
{
this
.
isDelete
=
isDelete
;
}
@Override
public
boolean
equals
(
Object
that
)
{
if
(
this
==
that
)
{
return
true
;
}
if
(
that
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
that
.
getClass
())
{
return
false
;
}
OcpTenantSubs
other
=
(
OcpTenantSubs
)
that
;
return
(
this
.
getObjId
()
==
null
?
other
.
getObjId
()
==
null
:
this
.
getObjId
().
equals
(
other
.
getObjId
()))
&&
(
this
.
getTenantCode
()
==
null
?
other
.
getTenantCode
()
==
null
:
this
.
getTenantCode
().
equals
(
other
.
getTenantCode
()))
&&
(
this
.
getSubsCompanyCode
()
==
null
?
other
.
getSubsCompanyCode
()
==
null
:
this
.
getSubsCompanyCode
().
equals
(
other
.
getSubsCompanyCode
()))
&&
(
this
.
getSubsLogTenantCtime
()
==
null
?
other
.
getSubsLogTenantCtime
()
==
null
:
this
.
getSubsLogTenantCtime
().
equals
(
other
.
getSubsLogTenantCtime
()))
&&
(
this
.
getSubsLogTenantMtime
()
==
null
?
other
.
getSubsLogTenantMtime
()
==
null
:
this
.
getSubsLogTenantMtime
().
equals
(
other
.
getSubsLogTenantMtime
()))
&&
(
this
.
getSubsLogTenantUserId
()
==
null
?
other
.
getSubsLogTenantUserId
()
==
null
:
this
.
getSubsLogTenantUserId
().
equals
(
other
.
getSubsLogTenantUserId
()))
&&
(
this
.
getSubsLogTenantAtime
()
==
null
?
other
.
getSubsLogTenantAtime
()
==
null
:
this
.
getSubsLogTenantAtime
().
equals
(
other
.
getSubsLogTenantAtime
()))
&&
(
this
.
getIsDelete
()
==
null
?
other
.
getIsDelete
()
==
null
:
this
.
getIsDelete
().
equals
(
other
.
getIsDelete
()));
}
@Override
public
int
hashCode
()
{
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
getObjId
()
==
null
)
?
0
:
getObjId
().
hashCode
());
result
=
prime
*
result
+
((
getTenantCode
()
==
null
)
?
0
:
getTenantCode
().
hashCode
());
result
=
prime
*
result
+
((
getSubsCompanyCode
()
==
null
)
?
0
:
getSubsCompanyCode
().
hashCode
());
result
=
prime
*
result
+
((
getSubsLogTenantCtime
()
==
null
)
?
0
:
getSubsLogTenantCtime
().
hashCode
());
result
=
prime
*
result
+
((
getSubsLogTenantMtime
()
==
null
)
?
0
:
getSubsLogTenantMtime
().
hashCode
());
result
=
prime
*
result
+
((
getSubsLogTenantUserId
()
==
null
)
?
0
:
getSubsLogTenantUserId
().
hashCode
());
result
=
prime
*
result
+
((
getSubsLogTenantAtime
()
==
null
)
?
0
:
getSubsLogTenantAtime
().
hashCode
());
result
=
prime
*
result
+
((
getIsDelete
()
==
null
)
?
0
:
getIsDelete
().
hashCode
());
return
result
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", objId="
).
append
(
objId
);
sb
.
append
(
", tenantCode="
).
append
(
tenantCode
);
sb
.
append
(
", subsCompanyCode="
).
append
(
subsCompanyCode
);
sb
.
append
(
", subsLogTenantCtime="
).
append
(
subsLogTenantCtime
);
sb
.
append
(
", subsLogTenantMtime="
).
append
(
subsLogTenantMtime
);
sb
.
append
(
", subsLogTenantUserId="
).
append
(
subsLogTenantUserId
);
sb
.
append
(
", subsLogTenantAtime="
).
append
(
subsLogTenantAtime
);
sb
.
append
(
", isDelete="
).
append
(
isDelete
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment