|
@@ -2,7 +2,6 @@ package com.github.zuihou.business.productionresource.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
-import com.github.zuihou.base.entity.Entity;
|
|
|
import com.github.zuihou.base.entity.SuperEntity;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -22,14 +21,14 @@ import javax.validation.constraints.NotNull;
|
|
|
@ApiModel(value = "EquStatus", description = "设备-状态")
|
|
|
@ToString(callSuper = true) @EqualsAndHashCode(callSuper = true)
|
|
|
@Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true)
|
|
|
-public class EquStatus extends SuperEntity<String>
|
|
|
+public class EquStatus extends SuperEntity<Long>
|
|
|
{
|
|
|
/**
|
|
|
* 设备ID
|
|
|
*/
|
|
|
@ApiModelProperty(value = "设备ID")
|
|
|
@NotNull(message = "缺失equId参数")
|
|
|
- private String equId;
|
|
|
+ private Long equId;
|
|
|
|
|
|
/**
|
|
|
* 状态(0 - 离线,1 - 在线,2 - 异常,3 - 缺料)
|