Field.java 870 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package com.primeton.dsp.datarelease.api.model;
  2. /**
  3. * <pre>
  4. *
  5. * Created by zhaopx.
  6. * User: zhaopx
  7. * Date: 2020/4/28
  8. * Time: 10:34
  9. * </pre>
  10. *
  11. * @author zhaopx
  12. */
  13. public class Field {
  14. /**
  15. * 字段名称
  16. */
  17. String fieldName;
  18. /**
  19. * 字段别名
  20. */
  21. String alias;
  22. public Field() {
  23. }
  24. public Field(String fieldName) {
  25. this.fieldName = fieldName;
  26. this.alias = fieldName;
  27. }
  28. public Field(String fieldName, String alias) {
  29. this.fieldName = fieldName;
  30. this.alias = alias;
  31. }
  32. public String getFieldName() {
  33. return fieldName;
  34. }
  35. public void setFieldName(String fieldName) {
  36. this.fieldName = fieldName;
  37. }
  38. public String getAlias() {
  39. return alias;
  40. }
  41. public void setAlias(String alias) {
  42. this.alias = alias;
  43. }
  44. }