DataInterfaceModel.java 771 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.usky.data.model;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. @Data
  6. public class DataInterfaceModel extends ParamModel implements Serializable {
  7. /**
  8. * 是否为空(0允许,1不允许)
  9. */
  10. @Schema(description = "是否为空(0允许,1不允许)")
  11. private Integer required;
  12. /**
  13. * 参数名称
  14. */
  15. @Schema(description = "参数名称")
  16. private String parameter;
  17. /**
  18. * 参数来源
  19. */
  20. @Schema(description = "参数来源(1-字段,2-自定义,3-为空,4-系统变量)")
  21. private Integer sourceType = 1;
  22. /**
  23. * 表单字段
  24. */
  25. @Schema(description = "表单字段")
  26. private String relationField;
  27. }