ApprovingDto.java 1.24 KB
Newer Older
1 2
package cn.timer.api.dto.spmk;

3 4
import javax.validation.constraints.NotNull;

5
import cn.timer.api.config.exception.ValidationMsg;
6 7 8 9 10 11 12 13 14 15 16
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ApprovingDto {
tangzhaoqian committed
17

18
	@NotNull(message = ValidationMsg.NOTNULL)
tangzhaoqian committed
19
	@ApiModelProperty(value = "审批汇总id", example = "2", required = true)
20
	private Integer asId;
tangzhaoqian committed
21

22
	@NotNull(message = ValidationMsg.NOTNULL)
tangzhaoqian committed
23
	@ApiModelProperty(value = "审批执行记录id", example = "10", required = true)
24
	private Integer executeRecordId;
tangzhaoqian committed
25

26
	@NotNull(message = ValidationMsg.NOTNULL)
tangzhaoqian committed
27
	@ApiModelProperty(value = "执行人记录id", example = "10", required = true)
28
	private Integer executorId;
tangzhaoqian committed
29

30
	@ApiModelProperty(value = "意见", example = "同意、拒绝")
31
	private String opinion;
tangzhaoqian committed
32

33
	@NotNull(message = ValidationMsg.NOTNULL)
34
	@ApiModelProperty(value = "状态 2同意 3拒绝 4转派", example = "2", required = true)
35
	private Integer sts;
36

37 38
	@ApiModelProperty(value = "被转派人 ", example = "对象")
	private User user;
tangzhaoqian committed
39

40 41 42
	@ApiModelProperty(value = "签字图片 ", example = "签字图片")
	private String signatureImg;

43
}