|
@@ -55,6 +55,14 @@ public class BBomProcedureTool extends Entity<Long> {
|
|
|
@Excel(name = "工序ID")
|
|
|
private Long procedureId;
|
|
|
|
|
|
+ /**
|
|
|
+ * 设备id
|
|
|
+ */
|
|
|
+ @ApiModelProperty(value = "设备id")
|
|
|
+ @TableField("resource_id")
|
|
|
+ @Excel(name = "设备id")
|
|
|
+ private Long resourceId;
|
|
|
+
|
|
|
/**
|
|
|
* 刀具名称
|
|
|
*/
|
|
@@ -68,10 +76,10 @@ public class BBomProcedureTool extends Entity<Long> {
|
|
|
/**
|
|
|
* 文件路径
|
|
|
*/
|
|
|
- @ApiModelProperty(value = "文件路径")
|
|
|
- @Length(max = 256, message = "文件路径长度不能超过256")
|
|
|
+ @ApiModelProperty(value = "使用时间")
|
|
|
+ @Length(max = 10, message = "使用时间不能超过10")
|
|
|
@TableField(value = "use_time", condition = LIKE)
|
|
|
- @Excel(name = "文件路径")
|
|
|
+ @Excel(name = "使用时间")
|
|
|
private int useTime;
|
|
|
|
|
|
|
|
@@ -85,8 +93,8 @@ public class BBomProcedureTool extends Entity<Long> {
|
|
|
|
|
|
|
|
|
@Builder
|
|
|
- public BBomProcedureTool(Long id, LocalDateTime createTime, Long createUser, LocalDateTime updateTime, Long updateUser,
|
|
|
- Long procedureId, String toolName, Integer count, String useTime) {
|
|
|
+ public BBomProcedureTool(Long id, LocalDateTime createTime, Long createUser, LocalDateTime updateTime, Long updateUser,
|
|
|
+ Long procedureId, String toolName, Long resourceId) {
|
|
|
this.id = id;
|
|
|
this.createTime = createTime;
|
|
|
this.createUser = createUser;
|
|
@@ -94,6 +102,7 @@ public class BBomProcedureTool extends Entity<Long> {
|
|
|
this.updateUser = updateUser;
|
|
|
this.procedureId = procedureId;
|
|
|
this.toolName = toolName;
|
|
|
+ this.resourceId = resourceId;
|
|
|
}
|
|
|
|
|
|
}
|