MdoProInoutPara.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. package com.miniframe.model.mdo;
  2. import com.miniframe.system.MiniserviceBaseModel;
  3. import java.io.Serializable;
  4. import javax.persistence.*;
  5. @Table(name = "mdo_pro_inout_para")
  6. public class MdoProInoutPara extends MiniserviceBaseModel implements Serializable {
  7. @Id
  8. private String id;
  9. /**
  10. * 项目ID
  11. */
  12. private String pid;
  13. /**
  14. * xfoil 编号 or Adflow 编号
  15. */
  16. private String fatherid;
  17. /**
  18. * 名称
  19. */
  20. private String name;
  21. /**
  22. * 编号
  23. */
  24. private String code;
  25. /**
  26. * 1 启用 0 不启用
  27. */
  28. private Integer flag;
  29. /**
  30. * 值
  31. */
  32. private String value;
  33. /**
  34. * 1 来流参数 2 分析参数
  35. */
  36. private Integer type;
  37. private static final long serialVersionUID = 1L;
  38. /**
  39. * @return id
  40. */
  41. public String getId() {
  42. return id;
  43. }
  44. /**
  45. * @param id
  46. */
  47. public void setId(String id) {
  48. this.id = id == null ? null : id.trim();
  49. }
  50. /**
  51. * 获取项目ID
  52. *
  53. * @return pid - 项目ID
  54. */
  55. public String getPid() {
  56. return pid;
  57. }
  58. /**
  59. * 设置项目ID
  60. *
  61. * @param pid 项目ID
  62. */
  63. public void setPid(String pid) {
  64. this.pid = pid == null ? null : pid.trim();
  65. }
  66. /**
  67. * 获取xfoil 编号 or Adflow 编号
  68. *
  69. * @return fatherid - xfoil 编号 or Adflow 编号
  70. */
  71. public String getFatherid() {
  72. return fatherid;
  73. }
  74. /**
  75. * 设置xfoil 编号 or Adflow 编号
  76. *
  77. * @param fatherid xfoil 编号 or Adflow 编号
  78. */
  79. public void setFatherid(String fatherid) {
  80. this.fatherid = fatherid == null ? null : fatherid.trim();
  81. }
  82. /**
  83. * 获取名称
  84. *
  85. * @return name - 名称
  86. */
  87. public String getName() {
  88. return name;
  89. }
  90. /**
  91. * 设置名称
  92. *
  93. * @param name 名称
  94. */
  95. public void setName(String name) {
  96. this.name = name == null ? null : name.trim();
  97. }
  98. /**
  99. * 获取编号
  100. *
  101. * @return code - 编号
  102. */
  103. public String getCode() {
  104. return code;
  105. }
  106. /**
  107. * 设置编号
  108. *
  109. * @param code 编号
  110. */
  111. public void setCode(String code) {
  112. this.code = code == null ? null : code.trim();
  113. }
  114. /**
  115. * 获取1 启用 0 不启用
  116. *
  117. * @return flag - 1 启用 0 不启用
  118. */
  119. public Integer getFlag() {
  120. return flag;
  121. }
  122. /**
  123. * 设置1 启用 0 不启用
  124. *
  125. * @param flag 1 启用 0 不启用
  126. */
  127. public void setFlag(Integer flag) {
  128. this.flag = flag;
  129. }
  130. /**
  131. * 获取值
  132. *
  133. * @return value - 值
  134. */
  135. public String getValue() {
  136. return value;
  137. }
  138. /**
  139. * 设置值
  140. *
  141. * @param value 值
  142. */
  143. public void setValue(String value) {
  144. this.value = value == null ? null : value.trim();
  145. }
  146. /**
  147. * 获取1 来流参数 2 分析参数
  148. *
  149. * @return type - 1 来流参数 2 分析参数
  150. */
  151. public Integer getType() {
  152. return type;
  153. }
  154. /**
  155. * 设置1 来流参数 2 分析参数
  156. *
  157. * @param type 1 来流参数 2 分析参数
  158. */
  159. public void setType(Integer type) {
  160. this.type = type;
  161. }
  162. }