@@ -31,7 +31,7 @@ import java.util.Date;
public class EnergyElectricity {
/** id */
- @TableId
+ @TableId(value = "id", type = IdType.AUTO)
@ApiModelProperty(value = "id", position = 1)
private int id;
public class EnergyWater {
/** ID */
@ApiModelProperty(value = "ID", position = 1)
private Integer id;