MyProcessDefinition.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. package com.activiti6.domain;
  2. import java.io.Serializable;
  3. import java.util.Date;
  4. public class MyProcessDefinition implements Serializable {
  5. private static final long serialVersionUID = 1L;
  6. private String id;
  7. private String deploymentId;
  8. /**
  9. * 流程名称
  10. */
  11. private String name;
  12. /**
  13. * 流程KEY
  14. */
  15. private String key;
  16. /**
  17. * 流程版本
  18. */
  19. private int version;
  20. /**
  21. * 所属分类
  22. */
  23. private String category;
  24. /**
  25. * 流程描述
  26. */
  27. private String description;
  28. /**
  29. * 部署时间
  30. */
  31. private Date deploymentTime;
  32. public String getId() {
  33. return id;
  34. }
  35. public void setId(String id) {
  36. this.id = id;
  37. }
  38. public String getKey() {
  39. return key;
  40. }
  41. public void setKey(String key) {
  42. this.key = key;
  43. }
  44. public String getName() {
  45. return name;
  46. }
  47. public void setName(String name) {
  48. this.name = name;
  49. }
  50. public String getCategory() {
  51. return category;
  52. }
  53. public void setCategory(String category) {
  54. this.category = category;
  55. }
  56. public int getVersion() {
  57. return version;
  58. }
  59. public void setVersion(int version) {
  60. this.version = version;
  61. }
  62. public String getDescription() {
  63. return description;
  64. }
  65. public void setDescription(String description) {
  66. this.description = description;
  67. }
  68. public String getDeploymentId() {
  69. return deploymentId;
  70. }
  71. public void setDeploymentId(String deploymentId) {
  72. this.deploymentId = deploymentId;
  73. }
  74. public Date getDeploymentTime() {
  75. return deploymentTime;
  76. }
  77. public void setDeploymentTime(Date deploymentTime) {
  78. this.deploymentTime = deploymentTime;
  79. }
  80. }