| | |
| | | package me.zhengjie.modules.task.domain; |
| | | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | import java.util.Date; |
| | | |
| | | import cn.hutool.core.date.DateTime; |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.mapping.DBRef; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | @Document("task_daliy") |
| | | public class TaskDaliyMongo implements Serializable { |
| | | |
| | | // @Id |
| | | // @ApiModelProperty(value = "ID") |
| | | // private String id; |
| | | // |
| | | @Id |
| | | private String id; |
| | | |
| | | // @ApiModelProperty(value = "项目ID") |
| | | // private Long projectId; |
| | | // |
| | | // @ApiModelProperty(value = "任务ID") |
| | | // private String taskId; |
| | | // |
| | | // @ApiModelProperty(value = "员工ID") |
| | | // private Long userId; |
| | | private String taskId; |
| | | @DBRef |
| | | private TaskUserMongo taskUserMongo; |
| | | |
| | | @ApiModelProperty(value = "员工ID") |
| | | private Long userId; |
| | | |
| | | @ApiModelProperty(value = "填写日期") |
| | | private Date fillDate; |