新能源场站高低电压穿越新增下拉用于测点台账时维护

This commit is contained in:
guofeihu
2024-08-16 10:23:45 +08:00
parent 813af67b9b
commit b30ad02ac1
7 changed files with 56 additions and 19 deletions

View File

@@ -1,7 +1,6 @@
package com.njcn.device.pq.pojo.param;
import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
@@ -15,56 +14,55 @@ import javax.validation.constraints.NotBlank;
* @since 2024-08-14
*/
@Data
@ApiModel
public class NewStationQueryParam extends BaseParam {
@ApiModelProperty(name = "id")
@ApiModelProperty("id")
private String id;
@ApiModelProperty(name = "新能源场站名称")
@ApiModelProperty("新能源场站名称")
private String name;
@ApiModelProperty(name = "新能源场站类型")
@ApiModelProperty("新能源场站类型")
private String stationType;
@ApiModelProperty(name = "电压等级Guid")
@ApiModelProperty("电压等级Guid")
private String scale;
@ApiModelProperty(name = "额定有功功率")
@ApiModelProperty("额定有功功率")
private String ratedPower;
@ApiModelProperty(name = "经度")
@ApiModelProperty("经度")
private String longitude;
@ApiModelProperty(name = "维度")
@ApiModelProperty("维度")
private String latitude;
@Data
public static class NewStationEdit{
@ApiModelProperty(name = "id")
@ApiModelProperty("id")
private String id;
@NotBlank(message = "新能源场站名称不能为空")
@ApiModelProperty(name = "新能源场站名称")
@ApiModelProperty("新能源场站名称(*)")
private String name;
@NotBlank(message = "新能源场站类型不能为空")
@ApiModelProperty(name = "新能源场站类型")
@ApiModelProperty("新能源场站类型(*)")
private String stationType;
@ApiModelProperty(name = "电压等级Guid")
@ApiModelProperty("电压等级Guid")
private String scale;
@NotBlank(message = "额定有功功率不能为空")
@ApiModelProperty(name = "额定有功功率")
@ApiModelProperty("额定有功功率(*)")
private String ratedPower;
@NotBlank(message = "经度不能为空")
@ApiModelProperty(name = "经度")
@ApiModelProperty("经度(*)")
private String longitude;
@NotBlank(message = "维度不能为空")
@ApiModelProperty(name = "维度")
@ApiModelProperty("维度(*)")
private String latitude;
}
}

View File

@@ -31,12 +31,12 @@ public class NewStation extends BaseEntity {
private String name;
/**
* (关联sys_dict_type字典表新能源场站类型风电场、光伏电站
* (关联new_station_type字典表新能源场站类型风电场、光伏电站
*/
private String stationType;
/**
* (关联sys_dict_type字典表电压等级Guid
* (关联Dev_Voltage_Stand字典表电压等级Guid
*/
private String scale;