Template.java 734 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package model;
  2. /**
  3. * @author duh
  4. * @create 2018/7/17 15:00
  5. * @email duh@elab-plus.com
  6. **/
  7. public class Template {
  8. protected String name;
  9. //x坐标
  10. protected int x;
  11. //y坐标
  12. protected int y;
  13. //旋转角度
  14. protected int scale;
  15. public String getName() {
  16. return name;
  17. }
  18. public void setName(String name) {
  19. this.name = name;
  20. }
  21. public int getX() {
  22. return x;
  23. }
  24. public void setX(int x) {
  25. this.x = x;
  26. }
  27. public int getY() {
  28. return y;
  29. }
  30. public void setY(int y) {
  31. this.y = y;
  32. }
  33. public int getScale() {
  34. return scale;
  35. }
  36. public void setScale(int scale) {
  37. this.scale = scale;
  38. }
  39. }