a0aea577274d3cec570a6366dc18ae04fa03d732.svn-base 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package org.jeecg.modules.system.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import io.swagger.annotations.ApiModel;
  7. import io.swagger.annotations.ApiModelProperty;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. import lombok.experimental.Accessors;
  11. import org.jeecgframework.poi.excel.annotation.Excel;
  12. import org.springframework.format.annotation.DateTimeFormat;
  13. import java.util.Date;
  14. /**
  15. * @Description: 编码校验规则
  16. * @Author: jeecg-boot
  17. * @Date: 2020-02-04
  18. * @Version: V1.0
  19. */
  20. @Data
  21. @TableName("sys_check_rule")
  22. @EqualsAndHashCode(callSuper = false)
  23. @Accessors(chain = true)
  24. @ApiModel(value = "sys_check_rule对象", description = "编码校验规则")
  25. public class SysCheckRule {
  26. /**
  27. * 主键id
  28. */
  29. @TableId(type = IdType.ASSIGN_ID)
  30. @ApiModelProperty(value = "主键id")
  31. private String id;
  32. /**
  33. * 规则名称
  34. */
  35. @Excel(name = "规则名称", width = 15)
  36. @ApiModelProperty(value = "规则名称")
  37. private String ruleName;
  38. /**
  39. * 规则Code
  40. */
  41. @Excel(name = "规则Code", width = 15)
  42. @ApiModelProperty(value = "规则Code")
  43. private String ruleCode;
  44. /**
  45. * 规则JSON
  46. */
  47. @Excel(name = "规则JSON", width = 15)
  48. @ApiModelProperty(value = "规则JSON")
  49. private String ruleJson;
  50. /**
  51. * 规则描述
  52. */
  53. @Excel(name = "规则描述", width = 15)
  54. @ApiModelProperty(value = "规则描述")
  55. private String ruleDescription;
  56. /**
  57. * 更新人
  58. */
  59. @Excel(name = "更新人", width = 15)
  60. @ApiModelProperty(value = "更新人")
  61. private String updateBy;
  62. /**
  63. * 更新时间
  64. */
  65. @Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  66. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  67. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  68. @ApiModelProperty(value = "更新时间")
  69. private Date updateTime;
  70. /**
  71. * 创建人
  72. */
  73. @Excel(name = "创建人", width = 15)
  74. @ApiModelProperty(value = "创建人")
  75. private String createBy;
  76. /**
  77. * 创建时间
  78. */
  79. @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  80. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  81. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  82. @ApiModelProperty(value = "创建时间")
  83. private Date createTime;
  84. }