diff --git a/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleFlow.java b/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleFlow.java index c6dcaed..cb38e20 100644 --- a/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleFlow.java +++ b/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleFlow.java @@ -1,6 +1,7 @@ package com.ruoyi.database.domain; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.ruoyi.common.core.domain.BaseEntity; @@ -25,17 +26,20 @@ public class PeopleVehicleFlow extends BaseEntity { * 类型 * */ @ApiModelProperty("类型") + @TableField(value = "statisc_type") private Integer statistic_type; /** * 流量 */ @ApiModelProperty("数量") + @TableField(value = "statistic_count") private String statistic_count; /** * 日期 */ @ApiModelProperty("日期") + @TableField(value = "statistic_time") private String statistic_time; } diff --git a/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java b/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java index 04377ef..e61f8e3 100644 --- a/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java +++ b/gather-app/src/main/java/com/ruoyi/database/domain/PeopleVehicleHourFlow.java @@ -1,6 +1,7 @@ package com.ruoyi.database.domain; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; @@ -24,18 +25,21 @@ public class PeopleVehicleHourFlow { * 类别(1:人/2:车) */ @ApiModelProperty("类型") + @TableField(value = "statisc_type") private Integer statistic_type; /** * 流量 */ @ApiModelProperty("数量") + @TableField(value = "statistic_count") private String statistic_count; /** * 日期 */ @ApiModelProperty("日期") + @TableField(value = "statistic_time") private String statistic_time; }