You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
568 B
19 lines
568 B
package com.jiagutech.dto;
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.Data;
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
|
@Data
|
|
@ApiModel(description = "缩放比例")
|
|
public class Scale {
|
|
@ApiModelProperty(value = "缩放比例", required = true)
|
|
private int scale;
|
|
@ApiModelProperty(value = "实际大小", required = true)
|
|
private float size;
|
|
@ApiModelProperty(value = "坐标", required = true)
|
|
@Size(min = 2, max = 2, message = "坐标必须是2个")
|
|
private int[][] points;
|
|
}
|
|
|