1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.yiboshi.science.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yiboshi.science.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import java.math.BigDecimal;
import java.util.Date;
/**
* 任务书表VO
*
* @author lkl
* @version 2021-08-26
*/
@Data
@EqualsAndHashCode(callSuper=true)
@ApiModel(description = "任务书表VO")
public class ComProjectTask extends BaseEntity {
/** 项目Id */
@ApiModelProperty(value = "项目Id", position = 1 )
@Length(max=36, message = "项目Id不能大于36")
private String projId;
/** 年度 */
@ApiModelProperty(value = "年度", position = 2 )
private Integer reportYear;
/** 任务书状态 0 未 填,-20 起 草, -10 待提交,1 审核中,10 审核通过,20 审核不通过,30 返回修改 */
@ApiModelProperty(value = "任务书状态 0 未 填,-20 起 草, -10 待提交,1 审核中,10 审核通过,20 审核不通过,30 返回修改", position = 3 )
private Integer testState;
/** 实施目标和主要内容 */
@ApiModelProperty(value = "实施目标和主要内容", position = 4 )
@Length(max=1000, message = "实施目标和主要内容不能大于1000")
private String testContent;
/** 总经费 */
@ApiModelProperty(value = "总经费", position = 5 )
private BigDecimal budgetCount;
/** 市卫计委资助 */
@ApiModelProperty(value = "市卫计委资助", position = 6 )
private BigDecimal budgetGovCount;
/** 开始日期 */
@ApiModelProperty(value = "开始日期", position = 7 )
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
private Date startDate;
/** 结束日期 */
@ApiModelProperty(value = "结束日期", position = 8 )
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
private Date endDate;
}