增加任务、需求的实体映射

master
yang.yongquan 2022-07-04 11:08:57 +08:00
parent f84a906204
commit 6074c8d59f
2 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,33 @@
package cn.edu.hfut.rmdjzz.projectmanagement.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import java.time.LocalDateTime;
/**
* @author
* @since 2022/7/4 11:03
*/
@Data
public class Demand {
@TableId(type = IdType.AUTO)
private Long demandId;
private String demandName;
private Integer demandProjectId;
private Integer demandHolderId;
private String demandType;
private Long demandFatherId;
private LocalDateTime demandBuiltTime;
private LocalDateTime demandStartTime;
private LocalDateTime demandEndTime;
private LocalDateTime demandCloseTime;
private Integer demandPriority;
private String demandDescription;
@TableField("is_deleted")
@TableLogic
private Boolean deleted;
}

View File

@ -0,0 +1,33 @@
package cn.edu.hfut.rmdjzz.projectmanagement.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import java.time.LocalDateTime;
/**
* @author
* @since 2022/7/4 11:07
*/
@Data
public class Task {
@TableId(type = IdType.AUTO)
private Long taskId;
private String taskName;
private Integer taskProjectId;
private Integer taskHolderId;
private String taskType;
private Long taskFatherId;
private LocalDateTime taskBuiltTime;
private LocalDateTime taskStartTime;
private LocalDateTime taskEndTime;
private LocalDateTime taskCloseTime;
private Integer taskPriority;
private String taskDescription;
@TableField("is_deleted")
@TableLogic
private Boolean deleted;
}