MySummaryQueryDto.java 1.49 KB
Newer Older
1 2
package cn.timer.api.dto.spmk;

3 4
import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
5
import javax.validation.constraints.NotBlank;
6 7 8
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

9
import cn.timer.api.config.exception.ValidationMsg;
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
import cn.timer.api.utils.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MySummaryQueryDto extends Page{

	private Integer orgCode;
	
	private Integer empNum;
	
lal committed
27
	@ApiModelProperty(value = "关键字 标题/审批人名称/审批总汇id", example = "")
28 29
	private String query;
	
ilal committed
30
	@ApiModelProperty(value = "状态 0审批中 1审批撤销  2审批通过/审批完成 3审批拒绝 4 已审批 5全部", example = "0")
31 32
	private Integer sts;
	
lal committed
33
	@ApiModelProperty(value = "开始时间 ", example = "")
34 35
	private String startTime;
	
lal committed
36
	@ApiModelProperty(value = "结束时间 ", example = "")
37 38
	private String endTime;
	
39
	@NotNull(message = ValidationMsg.NOTNULL)
lal committed
40 41
	@DecimalMax(value = "3",message = ValidationMsg.DECIMALMAX+" 只能为 0我发起的 1抄送我的 2我审批的 3全部")
	@DecimalMin(value = "0",message = ValidationMsg.DECIMALMIN+" 只能为 0我发起的 1抄送我的 2我审批的 3全部")
ilal committed
42
	@ApiModelProperty(value = "0我发起的 1抄送我的 2我审批的 3全部", example = "0")
43 44 45
	private Integer type;
	
}