content: package com.open.capacity.activiti.entity;
  
  import java.util.ArrayList;
  import java.util.Date;
  import java.util.List;
  
  /**
   * @Author: [gitgeek]
   * @Date: [2018-05-14 19:24]
   * @Description: [ ]
   * @Version: [1.0.0]
   * @Copy: [com.zzg]
   */
  public class UserLeave {
      private static final long serialVersionUID = 1L;
      private String id;
      private String userId;
      private String userName;
      private Date beginTime;
      private Date endTime;
      private String reason;
      private Integer days;
      private String processInstanceId;
      private String status;
      private Date createDate;
      private String createBy;
      private Date updateDate;
      private String updateBy;
      //***实时节点信息
      private String taskName;
      //请假单审核信息
      private List<LeaveOpinion> opinionList = new ArrayList<>();
  
      public String getTaskName() {
          return taskName;
      }
  
      public void setTaskName(String taskName) {
          this.taskName = taskName;
      }
  
      public void leaveOpAdd(LeaveOpinion leaveOpinion) {
          this.opinionList.add(leaveOpinion);
      }
  
      public void leaveOpAddAll(List<LeaveOpinion> leaveOpinionList) {
          this.opinionList.addAll(leaveOpinionList);
      }
  
      public List<LeaveOpinion> getOpinionList() {
          return opinionList;
      }
  
      public void setOpinionList(List<LeaveOpinion> opinionList) {
          this.opinionList = opinionList;
      }
  
      public String getId() {
          return id;
      }
  
      public void setId(String id) {
          this.id = id == null ? null : id.trim();
      }
  
      public String getUserId() {
          return userId;
      }
  
      public void setUserId(String userId) {
          this.userId = userId == null ? null : userId.trim();
      }
  
      public String getUserName() {
          return userName;
      }
  
      public void setUserName(String userName) {
          this.userName = userName == null ? null : userName.trim();
      }
  
      public Date getBeginTime() {
          return beginTime;
      }
  
      public void setBeginTime(Date beginTime) {
          this.beginTime = beginTime;
      }
  
      public Date getEndTime() {
          return endTime;
      }
  
      public void setEndTime(Date endTime) {
          this.endTime = endTime;
      }
  
      public String getReason() {
          return reason;
      }
  
      public void setReason(String reason) {
          this.reason = reason == null ? null : reason.trim();
      }
  
      public Integer getDays() {
          return days;
      }
  
      public void setDays(Integer days) {
          this.days = days;
      }
  
      public String getProcessInstanceId() {
          return processInstanceId;
      }
  
      public void setProcessInstanceId(String processInstanceId) {
          this.processInstanceId = processInstanceId == null ? null : processInstanceId.trim();
      }
  
      public String getStatus() {
          return status;
      }
  
      public void setStatus(String status) {
          this.status = status == null ? null : status.trim();
      }
  
      public Date getCreateDate() {
          return createDate;
      }
  
      public void setCreateDate(Date createDate) {
          this.createDate = createDate;
      }
  
      public String getCreateBy() {
          return createBy;
      }
  
      public void setCreateBy(String createBy) {
          this.createBy = createBy == null ? null : createBy.trim();
      }
  
      public Date getUpdateDate() {
          return updateDate;
      }
  
      public void setUpdateDate(Date updateDate) {
          this.updateDate = updateDate;
      }
  
      public String getUpdateBy() {
          return updateBy;
      }
  
      public void setUpdateBy(String updateBy) {
          this.updateBy = updateBy == null ? null : updateBy.trim();
      }
  }
  