TBRequestEntity.java 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. package cn.com.lzt.sign.entity;
  2. import org.hibernate.annotations.GenericGenerator;
  3. import java.util.Date;
  4. import java.lang.String;
  5. import javax.persistence.Column;
  6. import javax.persistence.Entity;
  7. import javax.persistence.GeneratedValue;
  8. import javax.persistence.Id;
  9. import javax.persistence.Table;
  10. /**
  11. * @Title: Entity
  12. * @Description: 申请表
  13. * @author dugc
  14. * @date 2021-11-09
  15. *
  16. */
  17. @Entity
  18. @Table(name = "t_b_request", schema = "")
  19. @SuppressWarnings("serial")
  20. public class TBRequestEntity implements java.io.Serializable {
  21. /** 数据库字段:id */
  22. private String id;
  23. /** 发起人userid, 数据库字段:user_id */
  24. private String userId;
  25. /** 申请类型, 数据库字段:type */
  26. private String type;
  27. /** 审批规则id,关联规则表, 数据库字段:rule_id */
  28. private String ruleId;
  29. /** 当前需要进行审核的用户id, 数据库字段:current_ruler_id */
  30. private String currentRulerId;
  31. /** 申请状态, 数据库字段:status */
  32. private String status;
  33. /** 创建日期, 数据库字段:date */
  34. private Date date;
  35. /** 数据库字段:created_at */
  36. private Date createdAt;
  37. /** 数据库字段:updated_at */
  38. private Date updatedAt;
  39. @Id
  40. @GeneratedValue(generator = "paymentableGenerator")
  41. @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
  42. @Column(name ="id",nullable=true,length=255)
  43. public String getId(){
  44. return this.id;
  45. }
  46. public void setId(String id){
  47. this.id = id;
  48. }
  49. @Column(name ="user_id",nullable=true,length=255)
  50. public String getUserId(){
  51. return this.userId;
  52. }
  53. public void setUserId(String userId){
  54. this.userId = userId;
  55. }
  56. @Column(name ="type",nullable=true,length=255)
  57. public String getType(){
  58. return this.type;
  59. }
  60. public void setType(String type){
  61. this.type = type;
  62. }
  63. @Column(name ="rule_id",nullable=true,length=255)
  64. public String getRuleId(){
  65. return this.ruleId;
  66. }
  67. public void setRuleId(String ruleId){
  68. this.ruleId = ruleId;
  69. }
  70. @Column(name ="current_ruler_id",nullable=true,length=255)
  71. public String getCurrentRulerId(){
  72. return this.currentRulerId;
  73. }
  74. public void setCurrentRulerId(String currentRulerId){
  75. this.currentRulerId = currentRulerId;
  76. }
  77. @Column(name ="status",nullable=true,length=255)
  78. public String getStatus(){
  79. return this.status;
  80. }
  81. public void setStatus(String status){
  82. this.status = status;
  83. }
  84. @Column(name ="date",nullable=true,length=255)
  85. public Date getDate(){
  86. return this.date;
  87. }
  88. public void setDate(Date date){
  89. this.date = date;
  90. }
  91. @Column(name ="created_at",nullable=true,length=255)
  92. public Date getCreatedAt(){
  93. return this.createdAt;
  94. }
  95. public void setCreatedAt(Date createdAt){
  96. this.createdAt = createdAt;
  97. }
  98. @Column(name ="updated_at",nullable=true,length=255)
  99. public Date getUpdatedAt(){
  100. return this.updatedAt;
  101. }
  102. public void setUpdatedAt(Date updatedAt){
  103. this.updatedAt = updatedAt;
  104. }
  105. }