增加任务、需求的实体映射
parent
f84a906204
commit
6074c8d59f
|
@ -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;
|
||||
}
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue