package com.cxyxiaomo.epp.common.query;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

// 数据库关系映射

@Data
@NoArgsConstructor
@Accessors(chain = true) // 链式写法
// 微服务必须要实现Serializable
public class ReportQuery implements Serializable {

    private Integer id;

    private Integer userId;

    private String name;

    private String address;

    private Long startTime, endTime;

    private Integer temperature;
}
