SysTask.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. package com.keao.edu.common.entity;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. /**
  4. * 对应数据库表(sys_task):
  5. */
  6. public class SysTask {
  7. /** 任务id,主键 */
  8. private Integer id;
  9. /** 任务名称 */
  10. private String name;
  11. /** 任务所属分组 */
  12. private String group;
  13. /** 具体任务接口 */
  14. private String jobClass;
  15. /** 任务执行的时间表达式 */
  16. private String timeExp;
  17. /** 状态(-1,执行失败;0,暂停;1,准备就绪;2,执行中;3,执行成功) */
  18. private Integer status;
  19. /** 任务描述 */
  20. private String description;
  21. /** 创建时间 */
  22. private java.util.Date createOn;
  23. /** 修改时间 */
  24. private java.util.Date modifyOn;
  25. public void setId(Integer id){
  26. this.id = id;
  27. }
  28. public Integer getId(){
  29. return this.id;
  30. }
  31. public void setName(String name){
  32. this.name = name;
  33. }
  34. public String getName(){
  35. return this.name;
  36. }
  37. public void setGroup(String group){
  38. this.group = group;
  39. }
  40. public String getGroup(){
  41. return this.group;
  42. }
  43. public void setJobClass(String jobClass){
  44. this.jobClass = jobClass;
  45. }
  46. public String getJobClass(){
  47. return this.jobClass;
  48. }
  49. public void setTimeExp(String timeExp){
  50. this.timeExp = timeExp;
  51. }
  52. public String getTimeExp(){
  53. return this.timeExp;
  54. }
  55. public void setStatus(Integer status){
  56. this.status = status;
  57. }
  58. public Integer getStatus(){
  59. return this.status;
  60. }
  61. public void setDescription(String description){
  62. this.description = description;
  63. }
  64. public String getDescription(){
  65. return this.description;
  66. }
  67. public void setCreateOn(java.util.Date createOn){
  68. this.createOn = createOn;
  69. }
  70. public java.util.Date getCreateOn(){
  71. return this.createOn;
  72. }
  73. public void setModifyOn(java.util.Date modifyOn){
  74. this.modifyOn = modifyOn;
  75. }
  76. public java.util.Date getModifyOn(){
  77. return this.modifyOn;
  78. }
  79. @Override
  80. public String toString() {
  81. return ToStringBuilder.reflectionToString(this);
  82. }
  83. }