|
|
@@ -78,17 +78,29 @@ public class ResourceBusiness extends Entity<Long> {
|
|
|
@NotNull(message = "设备ID不能为空")
|
|
|
private Long resourceId;
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 模块ID
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "模块ID")
|
|
|
+ @TableField(value = "module_id", condition = LIKE)
|
|
|
+ @Excel(name = "模块ID")
|
|
|
+ @NotNull(message = "模块ID不能为空")
|
|
|
+ private Long moduleId;
|
|
|
+
|
|
|
+
|
|
|
@TableField(exist=false)
|
|
|
private String productionResourceName;
|
|
|
|
|
|
@Builder
|
|
|
- public ResourceBusiness(Long id, LocalDateTime createTime, Long createUser, LocalDateTime updateTime, Long updateUser, String name, String status, String isFinal, String remark, Long resourceCodeId,Long resourceId) {
|
|
|
+ public ResourceBusiness(Long id, LocalDateTime createTime, Long createUser, LocalDateTime updateTime, Long updateUser, String name, String status, String isFinal, String remark, Long moduleId,Long resourceId) {
|
|
|
super(id, createTime, createUser, updateTime, updateUser);
|
|
|
this.name = name;
|
|
|
this.status = status;
|
|
|
this.isFinal = isFinal;
|
|
|
this.remark = remark;
|
|
|
this.resourceId = resourceId;
|
|
|
+ this.moduleId = moduleId;
|
|
|
this.createTime = createTime;
|
|
|
this.createUser = createUser;
|
|
|
this.updateTime = updateTime;
|