| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- package cn.com.lzt.sign.entity;
- import org.hibernate.annotations.GenericGenerator;
- import java.util.Date;
- import java.lang.String;
- import javax.persistence.Column;
- import javax.persistence.Entity;
- import javax.persistence.GeneratedValue;
- import javax.persistence.Id;
- import javax.persistence.Table;
- /**
- * @Title: Entity
- * @Description: 申请表
- * @author dugc
- * @date 2021-11-09
- *
- */
- @Entity
- @Table(name = "t_b_request", schema = "")
- @SuppressWarnings("serial")
- public class TBRequestEntity implements java.io.Serializable {
- /** 数据库字段:id */
- private String id;
- /** 发起人userid, 数据库字段:user_id */
- private String userId;
- /** 申请类型, 数据库字段:type */
- private String type;
- /** 审批规则id,关联规则表, 数据库字段:rule_id */
- private String ruleId;
- /** 当前需要进行审核的用户id, 数据库字段:current_ruler_id */
- private String currentRulerId;
- /** 申请状态, 数据库字段:status */
- private String status;
- /** 创建日期, 数据库字段:date */
- private Date date;
- /** 数据库字段:created_at */
- private Date createdAt;
- /** 数据库字段:updated_at */
- private Date updatedAt;
- @Id
- @GeneratedValue(generator = "paymentableGenerator")
- @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
- @Column(name ="id",nullable=true,length=255)
- public String getId(){
- return this.id;
- }
- public void setId(String id){
- this.id = id;
- }
- @Column(name ="user_id",nullable=true,length=255)
- public String getUserId(){
- return this.userId;
- }
- public void setUserId(String userId){
- this.userId = userId;
- }
- @Column(name ="type",nullable=true,length=255)
- public String getType(){
- return this.type;
- }
- public void setType(String type){
- this.type = type;
- }
- @Column(name ="rule_id",nullable=true,length=255)
- public String getRuleId(){
- return this.ruleId;
- }
- public void setRuleId(String ruleId){
- this.ruleId = ruleId;
- }
- @Column(name ="current_ruler_id",nullable=true,length=255)
- public String getCurrentRulerId(){
- return this.currentRulerId;
- }
- public void setCurrentRulerId(String currentRulerId){
- this.currentRulerId = currentRulerId;
- }
- @Column(name ="status",nullable=true,length=255)
- public String getStatus(){
- return this.status;
- }
- public void setStatus(String status){
- this.status = status;
- }
- @Column(name ="date",nullable=true,length=255)
- public Date getDate(){
- return this.date;
- }
- public void setDate(Date date){
- this.date = date;
- }
- @Column(name ="created_at",nullable=true,length=255)
- public Date getCreatedAt(){
- return this.createdAt;
- }
- public void setCreatedAt(Date createdAt){
- this.createdAt = createdAt;
- }
- @Column(name ="updated_at",nullable=true,length=255)
- public Date getUpdatedAt(){
- return this.updatedAt;
- }
- public void setUpdatedAt(Date updatedAt){
- this.updatedAt = updatedAt;
- }
- }
|