DcParams.java 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. package com.gqy.document.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.gqy.common.annotation.Excel;
  4. import com.gqy.common.core.domain.BaseEntity;
  5. import java.util.Date;
  6. public class DcParams extends BaseEntity
  7. {
  8. private static final long serialVersionUID = 1L;
  9. /** 主键ID */
  10. @Excel(name = "参数ID")
  11. private Long id;
  12. /** 参数编码 */
  13. @Excel(name = "参数编码")
  14. private String code;
  15. /** 参数类型(1-变量 2-常量) */
  16. @Excel(name = "参数类型", readConverterExp = "1=变量,2=常量")
  17. private Integer type;
  18. /** 参数名称 */
  19. @Excel(name = "参数名称")
  20. private String name;
  21. /** 参数介绍 */
  22. private String intro;
  23. /** 值类型(1-输入框 2-下拉选择 3-小数 4-百分比 5-分数) */
  24. @Excel(name = "值类型", readConverterExp = "1=输入框,2=下拉选择,3=小数,4=百分比,5=分数")
  25. private Integer value_type;
  26. /** 值选项 */
  27. private String value_item;
  28. /** 参数值 */
  29. @Excel(name = "参数值")
  30. private String value;
  31. /** 创建时间 */
  32. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  33. @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  34. private Date create_time;
  35. /** 状态(5-使用中 6-已停用 4-已删除) */
  36. @Excel(name = "状态", readConverterExp = "5=使用中,6=已停用,4=已删除")
  37. private Integer status;
  38. public Long getId() {
  39. return id;
  40. }
  41. public void setId(Long id) {
  42. this.id = id;
  43. }
  44. public String getCode() {
  45. return code;
  46. }
  47. public void setCode(String code) {
  48. this.code = code;
  49. }
  50. public Integer getType() {
  51. return type;
  52. }
  53. public void setType(Integer type) {
  54. this.type = type;
  55. }
  56. public String getName() {
  57. return name;
  58. }
  59. public void setName(String name) {
  60. this.name = name;
  61. }
  62. public String getIntro() {
  63. return intro;
  64. }
  65. public void setIntro(String intro) {
  66. this.intro = intro;
  67. }
  68. public Integer getValue_type() {
  69. return value_type;
  70. }
  71. public void setValue_type(Integer value_type) {
  72. this.value_type = value_type;
  73. }
  74. public String getValue_item() {
  75. return value_item;
  76. }
  77. public void setValue_item(String value_item) {
  78. this.value_item = value_item;
  79. }
  80. public String getValue() {
  81. return value;
  82. }
  83. public void setValue(String value) {
  84. this.value = value;
  85. }
  86. public Date getCreate_time() {
  87. return create_time;
  88. }
  89. public void setCreate_time(Date create_time) {
  90. this.create_time = create_time;
  91. }
  92. public Integer getStatus() {
  93. return status;
  94. }
  95. public void setStatus(Integer status) {
  96. this.status = status;
  97. }
  98. }