| | |
| | | package com.se.simu.domain.dto; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | |
| | | @SuppressWarnings("ALL") |
| | | public class ExtensionDto { |
| | | private double minx; |
| | |
| | | private double minHeight; |
| | | |
| | | private double maxHeight; |
| | | |
| | | @JSONField(serialize = false) |
| | | private Double differ; |
| | | |
| | | public ExtensionDto() { |
| | | } |
| | |
| | | public void setMaxHeight(double maxHeight) { |
| | | this.maxHeight = maxHeight; |
| | | } |
| | | |
| | | public Double getDiffer() { |
| | | return differ; |
| | | } |
| | | |
| | | public void setDiffer(Double differ) { |
| | | this.differ = differ; |
| | | } |
| | | |
| | | public void setDiffer() { |
| | | this.differ = this.maxHeight - this.minHeight; |
| | | } |
| | | } |