| | |
| | | /* |
| | | * Copyright 2019-2020 Zheng Jie |
| | | * |
| | | * Licensed under the Apache License, Version 2.0 (the "License"); |
| | | * you may not use this file except in compliance with the License. |
| | | * You may obtain a copy of the License at |
| | | * |
| | | * http://www.apache.org/licenses/LICENSE-2.0 |
| | | * |
| | | * Unless required by applicable law or agreed to in writing, software |
| | | * distributed under the License is distributed on an "AS IS" BASIS, |
| | | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| | | * See the License for the specific language governing permissions and |
| | | * limitations under the License. |
| | | */ |
| | | package me.zhengjie.modules.task.service.dto; |
| | | |
| | | import lombok.Data; |
| | | import me.zhengjie.base.BaseDTO; |
| | | import me.zhengjie.modules.task.domain.TaskDaliyMongo; |
| | | import me.zhengjie.modules.task.domain.TaskMongo; |
| | | |
| | | import java.sql.Timestamp; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | | |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.mapping.DBRef; |
| | | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | | /** |
| | | * @website https://eladmin.vip |
| | | * @description / |
| | | * @author 赵士淞 |
| | | * @date 2022-12-28 |
| | | **/ |
| | | @Data |
| | | public class TaskUserMongoDto implements Serializable { |
| | | |
| | | /** ID */ |
| | | private String id; |
| | | |
| | | private Long projectId; |
| | | |
| | | /** 任务ID */ |
| | | private String taskId; |
| | | |
| | | private Long old_id; |
| | | |
| | | private String name; |
| | | |
| | | /** 任务分类 */ |
| | | private String taskClassification; |
| | | |
| | | /** 绩效类型 */ |
| | | private String performanceType; |
| | | |
| | | /** 用户ID */ |
| | | private Long userId; |
| | | |
| | | /** 用户名称 */ |
| | | private String userNickName; |
| | | |
| | | /** 任务开始时间 */ |
| | | private Date taskStartDate; |
| | | |
| | | /** 任务结束时间 */ |
| | | private Date taskEndDate; |
| | | |
| | | /** 优先度 */ |
| | | private String priority; |
| | | |
| | | private List<TaskDaliyMongo> taskDaliyList = new LinkedList<TaskDaliyMongo>(); |
| | | |
| | | /** 任务工时 */ |
| | | private Double taskHours; |
| | | |
| | | /** 消耗工时 */ |
| | | private Double costHours; |
| | | |
| | | /** 绩效工时 */ |
| | | private Double performanceHours; |
| | | |
| | | private Double alreadyConsumedHours; |
| | | |
| | | /** 任务状态 */ |
| | | private String taskStatus; |
| | | |
| | | /** 备注 */ |
| | | private String remarks; |
| | | |
| | | private Double MaxTaskProgress; |
| | | |
| | | private Double newTaskProgress; |
| | | |
| | | private boolean isOk; |
| | | private boolean isStart = false; |
| | | /*
|
| | | * Copyright 2019-2020 Zheng Jie
|
| | | *
|
| | | * Licensed under the Apache License, Version 2.0 (the "License");
|
| | | * you may not use this file except in compliance with the License.
|
| | | * You may obtain a copy of the License at
|
| | | *
|
| | | * http://www.apache.org/licenses/LICENSE-2.0
|
| | | *
|
| | | * Unless required by applicable law or agreed to in writing, software
|
| | | * distributed under the License is distributed on an "AS IS" BASIS,
|
| | | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| | | * See the License for the specific language governing permissions and
|
| | | * limitations under the License.
|
| | | */
|
| | | package me.zhengjie.modules.task.service.dto;
|
| | |
|
| | | import lombok.Data;
|
| | | import me.zhengjie.base.BaseDTO;
|
| | | import me.zhengjie.modules.task.domain.TaskDaliyMongo;
|
| | | import me.zhengjie.modules.task.domain.TaskMongo;
|
| | |
|
| | | import java.sql.Timestamp;
|
| | | import java.io.Serializable;
|
| | | import java.util.Date;
|
| | | import java.util.LinkedList;
|
| | | import java.util.List;
|
| | |
|
| | | import org.springframework.data.annotation.Id;
|
| | | import org.springframework.data.mongodb.core.mapping.DBRef;
|
| | |
|
| | | import io.swagger.annotations.ApiModelProperty;
|
| | |
|
| | | /**
|
| | | * @website https://eladmin.vip
|
| | | * @description /
|
| | | * @author 赵士淞
|
| | | * @date 2022-12-28
|
| | | **/
|
| | | @Data
|
| | | public class TaskUserMongoDto implements Serializable {
|
| | |
|
| | | /** ID */
|
| | | private String id;
|
| | |
|
| | | private Long projectId;
|
| | |
|
| | | private String projectName;
|
| | |
|
| | | /** 任务ID */
|
| | | private String taskId;
|
| | |
|
| | | private String taskName;
|
| | |
|
| | | private Long old_id;
|
| | | |
| | | private String name;
|
| | | |
| | | /** 任务分类 */
|
| | | private String taskClassification;
|
| | |
|
| | | /** 绩效类型 */
|
| | | private String performanceType;
|
| | |
|
| | | /** 用户ID */
|
| | | private Long userId;
|
| | |
|
| | | private List<Long> userIds;
|
| | | |
| | | /** 用户名称 */
|
| | | private String userNickName;
|
| | |
|
| | | /** 任务开始时间 */
|
| | | private Date taskStartDate;
|
| | |
|
| | | /** 任务结束时间 */
|
| | | private Date taskEndDate;
|
| | |
|
| | | /** 优先度 */
|
| | | private String priority;
|
| | |
|
| | | private String uid;
|
| | |
|
| | | private List<TaskDaliyMongo> taskDaliyList = new LinkedList<TaskDaliyMongo>();
|
| | |
|
| | | /** 任务工时 */
|
| | | private Double taskHours;
|
| | |
|
| | | /** 消耗工时 */
|
| | | private Double costHours;
|
| | | |
| | | /** 绩效工时 */
|
| | | private Double performanceHours;
|
| | |
|
| | | private Double alreadyConsumedHours;
|
| | |
|
| | | /** 任务状态 */
|
| | | private String taskStatus;
|
| | |
|
| | | /** 备注 */
|
| | | private String remarks;
|
| | |
|
| | | /** 复核ID,复核任务使用 */
|
| | | private String rid;
|
| | |
|
| | | /** 驳回数量 */
|
| | | private Integer rejectCount;
|
| | |
|
| | | /** 复核任务名称,复核任务使用 */
|
| | | private String rname;
|
| | |
|
| | | private Double MaxTaskProgress;
|
| | |
|
| | | private Double newTaskProgress;
|
| | |
|
| | | private boolean isOk;
|
| | | private boolean isStart = false;
|
| | | } |