package com.whyc.dto; /** * 坐标点,用于定义极值温度的x,y坐标 */ public class Point { private Integer x; private Integer y; public Point(Integer x, Integer y) { this.x = x; this.y = y; } public Integer getX() { return x; } public void setX(Integer x) { this.x = x; } public Integer getY() { return y; } public void setY(Integer y) { this.y = y; } @Override public String toString() { return "Point{" + "x=" + x + ", y=" + y + '}'; } }