DataInterfaceModel.java 962 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package jnpf.base.model.datainterface;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. /**
  6. * 自定义参数模型
  7. *
  8. * @author JNPF开发平台组
  9. * @version V3.1.0
  10. * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
  11. * @date 2021-12-13
  12. */
  13. @Data
  14. public class DataInterfaceModel extends ParamModel implements Serializable {
  15. /**
  16. * 是否为空(0允许,1不允许)
  17. */
  18. @Schema(description = "是否为空(0允许,1不允许)")
  19. private Integer required;
  20. /**
  21. * 参数名称
  22. */
  23. @Schema(description = "参数名称")
  24. private String parameter;
  25. /**
  26. * 参数来源
  27. */
  28. @Schema(description = "参数来源(1-字段,2-自定义,3-为空,4-系统变量)")
  29. private Integer sourceType = 1;
  30. /**
  31. * 表单字段
  32. */
  33. @Schema(description = "表单字段")
  34. private String relationField;
  35. }