TaskObjectPO.java 5.75 KB
/**
 * @(#)Task.java 
 *
 * Copyright (c) 2014-2014  苏州犀牛网络科技有限公司 版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.xiniunet.task.po;

import com.xiniunet.framework.base.BaseDomain;
import com.xiniunet.task.domain.TaskUser;
import com.xiniunet.task.enumeration.PrioityEnum;
import com.xiniunet.task.enumeration.TaskObjectCategoryEnum;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * Created by 沈振家 on 2016-11-28 16:23:01.
 * @author 沈振家
 */
public class TaskObjectPO extends BaseDomain {
    /**
     * 是否是任务组
     */
    private Boolean isTaskGroup;
    /**
     * 组头像
     */
    private String  groupAvarUrl;

    /**
     * 主键
     */
    private  Long   id;

    /**
     * 承租人ID
     */
    private  Long   tenantId;

    /**
     * 对象类型
     */
    private String objectType;

    /**
     * 对象ID
     */
    private  Long   objectId;

    /**
     * 对象分类
     */
    private TaskObjectCategoryEnum objectCategory;

    /**
     * 未读动态数量
     */
    private Integer unReadCount;
    /**
     * 最后动态更新时间
     */
    private Date lastDynamicTime;
    /**
     * 对象名称
     */
    private  String   objectName;

//    任务信息====
    /**
     * 对象描述
     */
    private  String   objectDescription;

    /**
     * 对象链接,
     */
    private  String   objectUrl;


    /**
     * 负责人用户ID
     */
    private  Long   ownerUserId;

    /**
     * 负责人用户姓名
     */
    private  String   ownerUserName;

    /**
     * 是否置顶
     */
    private Boolean isTop;
    /**
     * 置顶排序
     */
    private Integer topIndex;

    /**
     * 进度
     */
    private Integer processPercent;
    /**
     * 开始时间
     */
    private Date beginTime;

    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 任务组任务名称拼接
     */
    private String objectDetail;
    /**
     * 任务数量
     */
    private Integer taskCount;

    public Integer getTaskCount() {
        return taskCount;
    }

    public void setTaskCount(Integer taskCount) {
        this.taskCount = taskCount;
    }

    public String getObjectDetail() {
        return objectDetail;
    }

    public void setObjectDetail(String objectDetail) {
        this.objectDetail = objectDetail;
    }

    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 Integer getProcessPercent() {
        return processPercent;
    }

    public void setProcessPercent(Integer processPercent) {
        this.processPercent = processPercent;
    }

    public Boolean getIsTop() {
        return isTop;
    }

    public void setIsTop(Boolean top) {
        isTop = top;
    }

    public Integer getTopIndex() {
        return topIndex;
    }

    public void setTopIndex(Integer topIndex) {
        this.topIndex = topIndex;
    }

    public Boolean getIsTaskGroup() {
        return isTaskGroup;
    }

    public void setIsTaskGroup(Boolean taskGroup) {
        isTaskGroup = taskGroup;
    }

    public String getGroupAvarUrl() {
        return groupAvarUrl;
    }

    public void setGroupAvarUrl(String groupAvarUrl) {
        this.groupAvarUrl = groupAvarUrl;
    }

    public Long getId() {
        return id;
    }

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

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public Long getObjectId() {
        return objectId;
    }

    public void setObjectId(Long objectId) {
        this.objectId = objectId;
    }

    public TaskObjectCategoryEnum getObjectCategory() {
        return objectCategory;
    }

    public void setObjectCategory(TaskObjectCategoryEnum objectCategory) {
        this.objectCategory = objectCategory;
    }

    public Integer getUnReadCount() {
        return unReadCount;
    }

    public void setUnReadCount(Integer unReadCount) {
        this.unReadCount = unReadCount;
    }

    public Date getLastDynamicTime() {
        return lastDynamicTime;
    }

    public void setLastDynamicTime(Date lastDynamicTime) {
        this.lastDynamicTime = lastDynamicTime;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getObjectDescription() {
        return objectDescription;
    }

    public void setObjectDescription(String objectDescription) {
        this.objectDescription = objectDescription;
    }

    public String getObjectUrl() {
        return objectUrl;
    }

    public void setObjectUrl(String objectUrl) {
        this.objectUrl = objectUrl;
    }

    public Long getOwnerUserId() {
        return ownerUserId;
    }

    public void setOwnerUserId(Long ownerUserId) {
        this.ownerUserId = ownerUserId;
    }

    public String getOwnerUserName() {
        return ownerUserName;
    }

    public void setOwnerUserName(String ownerUserName) {
        this.ownerUserName = ownerUserName;
    }
}