package com.sifang.modules.flowable.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "crm_item_manage")
public class ItemManage implements Serializable {

    private String id;

    private String formKey;

    private String applicationId;

    private String processInstanceId;

    private String name;

    private String status;

    private Date createTime;

    private String createName;

    private Date endTime;

    private String currentTaskName;

    private String assignAuditUserId;
    private String preferUserId;

    private Date assignTime;

    private Date latestAssignTime;

    private String latestDispatchId;

    private String assignee;
    private Integer taskDuration;
    private Integer dispatchDuration;
    private Integer failTimes;
    private String workTimeSt1;
    private String workTimeSt2;
    private String workTimeEnd1;
    private String workTimeEnd2;
    private String groupId;
    private String leaderMemberId;
    private String leaderName;
    private String isPriority;
    private String traderId;

    @Id
    @GeneratedValue(generator = "idGenerator")
    @GenericGenerator(name = "idGenerator", strategy = "uuid")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFormKey() {
        return formKey;
    }

    public void setFormKey(String formKey) {
        this.formKey = formKey;
    }

    public String getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(String applicationId) {
        this.applicationId = applicationId;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCurrentTaskName() {
        return currentTaskName;
    }

    public void setCurrentTaskName(String currentTaskName) {
        this.currentTaskName = currentTaskName;
    }

    public String getAssignAuditUserId() {
        return assignAuditUserId;
    }

    public void setAssignAuditUserId(String assignAuditUserId) {
        this.assignAuditUserId = assignAuditUserId;
    }

    public Date getAssignTime() {
        return assignTime;
    }

    public void setAssignTime(Date assignTime) {
        this.assignTime = assignTime;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public Date getLatestAssignTime() {
        return latestAssignTime;
    }

    public void setLatestAssignTime(Date latestAssignTime) {
        this.latestAssignTime = latestAssignTime;
    }


    public String getLatestDispatchId() {
        return latestDispatchId;
    }

    public void setLatestDispatchId(String latestDispatchId) {
        this.latestDispatchId = latestDispatchId;
    }

    public String getPreferUserId() {
        return preferUserId;
    }

    public void setPreferUserId(String preferUserId) {
        this.preferUserId = preferUserId;
    }

    public Integer getTaskDuration() {
        return taskDuration;
    }

    public void setTaskDuration(Integer taskDuration) {
        this.taskDuration = taskDuration;
    }

    public Integer getDispatchDuration() {
        return dispatchDuration;
    }

    public void setDispatchDuration(Integer dispatchDuration) {
        this.dispatchDuration = dispatchDuration;
    }

    public Integer getFailTimes() {
        return failTimes;
    }

    public void setFailTimes(Integer failTimes) {
        this.failTimes = failTimes;
    }

    public String getWorkTimeSt1() {
        return workTimeSt1;
    }

    public void setWorkTimeSt1(String workTimeSt1) {
        this.workTimeSt1 = workTimeSt1;
    }

    public String getWorkTimeSt2() {
        return workTimeSt2;
    }

    public void setWorkTimeSt2(String workTimeSt2) {
        this.workTimeSt2 = workTimeSt2;
    }

    public String getWorkTimeEnd1() {
        return workTimeEnd1;
    }

    public void setWorkTimeEnd1(String workTimeEnd1) {
        this.workTimeEnd1 = workTimeEnd1;
    }

    public String getWorkTimeEnd2() {
        return workTimeEnd2;
    }

    public void setWorkTimeEnd2(String workTimeEnd2) {
        this.workTimeEnd2 = workTimeEnd2;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getLeaderMemberId() {
        return leaderMemberId;
    }

    public void setLeaderMemberId(String leaderMemberId) {
        this.leaderMemberId = leaderMemberId;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    public String getIsPriority() {
        return isPriority;
    }

    public void setIsPriority(String isPriority) {
        this.isPriority = isPriority;
    }

    public String getTraderId() {
        return traderId;
    }

    public void setTraderId(String traderId) {
        this.traderId = traderId;
    }
}
