| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | @Data |
| | | @TableName("sys_project_plan") |
| | | public class ProjectPlan implements Serializable { |
| | | |
| | |
| | | /** |
| | | * 唯一ID |
| | | */ |
| | | @TableId(value = "id",type = IdType.AUTO) |
| | | @ApiModelProperty(value= "唯一ID") |
| | | private Long id; |
| | | |
| | |
| | | */ |
| | | @ApiModelProperty(value= "创建人id") |
| | | @TableField("create_id") |
| | | private Integer createId; |
| | | private Long createId; |
| | | |
| | | /** |
| | | * 修改时间 |
| | |
| | | */ |
| | | @ApiModelProperty(value= "修改人id") |
| | | @TableField("modify_id") |
| | | private Integer modifyId; |
| | | private Long modifyId; |
| | | |
| | | /** |
| | | * 节点名称 |
| | |
| | | private String flowName; |
| | | |
| | | public ProjectPlan() {} |
| | | |
| | | public ProjectPlan(Long itemId,Integer weightNum,Integer flowId,Date startTime,Date realStartTime,Date endTime,Date realEndTime,Integer delay,String delayReason,String memo,String dutyDepartment,String dutyMan,Date createTime,Integer createId,Date modifyTime,Integer modifyId,String flowName) { |
| | | this.itemId = itemId; |
| | | this.weightNum = weightNum; |
| | | this.flowId = flowId; |
| | | this.startTime = startTime; |
| | | this.realStartTime = realStartTime; |
| | | this.endTime = endTime; |
| | | this.realEndTime = realEndTime; |
| | | this.delay = delay; |
| | | this.delayReason = delayReason; |
| | | this.memo = memo; |
| | | this.dutyDepartment = dutyDepartment; |
| | | this.dutyMan = dutyMan; |
| | | this.createTime = createTime; |
| | | this.createId = createId; |
| | | this.modifyTime = modifyTime; |
| | | this.modifyId = modifyId; |
| | | this.flowName = flowName; |
| | | } |
| | | |
| | | // ProjectPlan projectPlan = new ProjectPlan( |
| | | // null, // 项目ID[非空] |
| | |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Integer getCreateId() { |
| | | return createId; |
| | | } |
| | | |
| | | public void setCreateId(Integer createId) { |
| | | this.createId = createId; |
| | | } |
| | | // public Integer getCreateId() { |
| | | // return createId; |
| | | // } |
| | | // |
| | | // public void setCreateId(Integer createId) { |
| | | // this.createId = createId; |
| | | // } |
| | | |
| | | public Date getModifyTime() { |
| | | return modifyTime; |
| | |
| | | public void setModifyTime(Date modifyTime) { |
| | | this.modifyTime = modifyTime; |
| | | } |
| | | |
| | | public Integer getModifyId() { |
| | | return modifyId; |
| | | } |
| | | |
| | | public void setModifyId(Integer modifyId) { |
| | | this.modifyId = modifyId; |
| | | } |
| | | // |
| | | // public Integer getModifyId() { |
| | | // return modifyId; |
| | | // } |
| | | // |
| | | // public void setModifyId(Integer modifyId) { |
| | | // this.modifyId = modifyId; |
| | | // } |
| | | |
| | | public String getFlowName() { |
| | | return flowName; |