|
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.cpp.common.core.domain.BaseEntity;
|
|
|
+import com.cpp.web.domain.BaseCppEntity;
|
|
|
import com.cpp.web.domain.station.enums.EquipmentTypeEnum;
|
|
|
|
|
|
|
|
@@ -24,20 +25,12 @@ import java.time.LocalDate;
|
|
|
@TableName("cpp_weather_station_info")
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
@ApiModel(value = "cpp_weather_station_info")
|
|
|
-public class WeatherStationInfo extends BaseEntity {
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
+public class WeatherStationInfo extends BaseCppEntity {
|
|
|
|
|
|
public WeatherStationInfo() {
|
|
|
this.setEquipmentType(EquipmentTypeEnum.WEATHERSTATION.getCode());
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 主键ID
|
|
|
- */
|
|
|
- @TableId(type = IdType.AUTO)
|
|
|
- @ApiModelProperty(value = "主键ID")
|
|
|
- private Long id;
|
|
|
-
|
|
|
|
|
|
/**
|
|
|
* 备用字段A
|