添加用户
This commit is contained in:
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
@@ -27,6 +28,10 @@ public class CsDevModelAddParm {
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
private String devType;
|
||||
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
@NotBlank(message="装置型号名称不能为空!")
|
||||
private String devTypeName;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "模板名称")
|
||||
private String name;
|
||||
|
||||
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
@@ -28,6 +29,8 @@ public class CsDevModelAuditParm {
|
||||
*/
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
private String devType;
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
private String devTypeName;
|
||||
@ApiModelProperty(value = "模板名称")
|
||||
private String name;
|
||||
/**
|
||||
|
||||
@@ -31,6 +31,9 @@ public class CsEdDataAddParm {
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
@NotBlank(message="装置型号不能为空!")
|
||||
private String devType;
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
@NotBlank(message="装置型号名称不能为空!")
|
||||
private String devTypeName;
|
||||
@ApiModelProperty(value = "装置类型")
|
||||
private String type;
|
||||
/**
|
||||
|
||||
@@ -6,6 +6,7 @@ import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
@@ -30,6 +31,8 @@ public class CsEdDataAuditParm {
|
||||
*/
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
private String devType;
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
private String devTypeName;
|
||||
@ApiModelProperty(value = "装置类型")
|
||||
private String type;
|
||||
/**
|
||||
|
||||
@@ -36,6 +36,9 @@ public class CsDevModelPO extends BaseEntity {
|
||||
@TableField(value = "dev_type")
|
||||
private String devType;
|
||||
|
||||
@TableField(value = "dev_type_name")
|
||||
private String devTypeName;
|
||||
|
||||
/**
|
||||
* 模板名称
|
||||
*/
|
||||
|
||||
@@ -37,6 +37,10 @@ public class CsEdDataPO extends BaseEntity {
|
||||
*/
|
||||
@TableField(value = "dev_type")
|
||||
private String devType;
|
||||
|
||||
@TableField(value = "dev_type_name")
|
||||
private String devTypeName;
|
||||
|
||||
/**
|
||||
* 装置类型(直连设备、网关设备)
|
||||
*/
|
||||
|
||||
@@ -45,7 +45,7 @@ public class AppProjectVO {
|
||||
/**
|
||||
* 拓扑图路径
|
||||
*/
|
||||
private List<String> topologyDiagramPaths;
|
||||
private List<AppTopologyDiagramVO> topologyDiagramPaths;
|
||||
|
||||
/**
|
||||
* 中心点经度
|
||||
|
||||
@@ -32,8 +32,8 @@ public class CsDevModelPageVO extends BaseEntity {
|
||||
*/
|
||||
@ApiModelProperty(value = "设备模板型号id")
|
||||
private String devType;
|
||||
@ApiModelProperty(value = "设备模板型号id名称")
|
||||
private String devName;
|
||||
private String devTypeName;
|
||||
|
||||
@ApiModelProperty(value = "模板名称")
|
||||
private String name;
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ public class CsEdDataVO extends BaseEntity {
|
||||
*/
|
||||
@ApiModelProperty(value = "装置型号")
|
||||
private String devType;
|
||||
@ApiModelProperty(value = "装置名称")
|
||||
private String devName;
|
||||
private String devTypeName;
|
||||
|
||||
@ApiModelProperty(value = "装置类型")
|
||||
private String type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user