用户信息接口修正
Some checks failed
JslGroup/JslDeveloper/JSL_OrganizeInternalOA/pipeline/head There was a failure building this commit

This commit is contained in:
xiangZr-hhh 2024-03-12 14:26:51 +08:00
parent 1864f90fe0
commit 7596e19721
2 changed files with 51 additions and 24 deletions

View File

@ -1,16 +1,28 @@
package com.jsl.oa.model.doData;
/*
张睿相 Java
*/
/**
* 总体描述
* <p>创建时间2024/3/11 21:54</p>
*
* @author 张睿相
* @since v1.0
*/
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;
import java.sql.Timestamp;
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ProjectWorkDO {
private Long id;
private Long pid;
private Long projectId;
private Long principalId;
private Integer cycle;
private Integer workLoad;
private Integer type;
private String name;
private String description;
private Integer isDelete;
private Integer isFinish;
private boolean status;
private Timestamp beginTime;
private Timestamp completeTime;
}

View File

@ -1,16 +1,31 @@
package com.jsl.oa.model.voData;
/*
张睿相 Java
*/
/**
* 总体描述
* <p>创建时间2024/3/11 21:54</p>
*
* @author 张睿相
* @since v1.0
*/
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.sql.Timestamp;
@Data
public class ProjectWorkVO {
private Long pid;
@NotNull(message = "项目id不能为空")
private Long projectId;
@NotNull(message = "负责人id不能为空")
private Long principalId;
@NotNull(message = "周期不能为空")
private Integer cycle;
private Integer workLoad;
@NotNull(message = "类型不能为空")
private Integer type;
@NotNull(message = "名字不能为空")
private String name;
private String description;
private Integer isDelete;
private Integer isFinish;
private Integer status;
private Timestamp beginTime;
private Timestamp completeTime;
}