From 346288bc38bdab442721d7609caed86d03b9d2d4 Mon Sep 17 00:00:00 2001 From: cjl <276999030@qq.com> Date: Tue, 26 Sep 2023 19:25:24 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/wb' into qa --- screen-api/src/main/java/com/moral/api/pojo/query/allocation/AllocationUpdateCond.java | 85 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 85 insertions(+), 0 deletions(-) diff --git a/screen-api/src/main/java/com/moral/api/pojo/query/allocation/AllocationUpdateCond.java b/screen-api/src/main/java/com/moral/api/pojo/query/allocation/AllocationUpdateCond.java new file mode 100644 index 0000000..41c311b --- /dev/null +++ b/screen-api/src/main/java/com/moral/api/pojo/query/allocation/AllocationUpdateCond.java @@ -0,0 +1,85 @@ +package com.moral.api.pojo.query.allocation; + +import com.moral.api.entity.Allocation; +import com.moral.api.pojo.vo.file.FileVo; +import com.moral.api.utils.BeanConverts; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +/** + * <p> + * ��������� + * </p> + * deyt template generate + * @author JI + * @since 2023-09-25 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@ApiModel(value="Allocation - ������������", description="Allocation - ������������") +public class AllocationUpdateCond implements Serializable { + + @ApiModelProperty(value = "������id") + @NotNull(message = "������id���������������") + private Integer allocationId; + + @ApiModelProperty(value = "������������") + @NotNull(message = "���������������������������") + private Date escalationTime; + + @ApiModelProperty(value = "������������") + @NotEmpty(message = "���������������������������") + private String pollutePosition; + + @ApiModelProperty(value = "������������id") + @NotNull(message = "���������������������������") + private Integer unitId; + + @ApiModelProperty(value = "������������id") + @NotNull(message = "���������������������������") + private Integer polluteType; + + @ApiModelProperty(value = "������������id") + @NotNull(message = "���������������������������") + private Integer changeType; + + @ApiModelProperty(value = "������������") + private Integer changeDay; + + @ApiModelProperty(value = "������������id") + @NotNull(message = "���������������������������") + private Integer escalationUnitId; + + @ApiModelProperty(value = "���������") + @NotEmpty(message = "������������������������") + private String escalationName; + + @ApiModelProperty(value = "������������id") + @NotNull(message = "���������������������������") + private Integer investigationType; + + @ApiModelProperty(value = "������������") + private String problemDescribe; + + @ApiModelProperty(value = "������") + @NotNull(message = "���������������������") + private Integer state; + + @ApiModelProperty(value = "������������") + private List<FileVo> fileBaseList; + + public Allocation convert() { + Allocation allocation = BeanConverts.convert(this, Allocation.class); + return allocation; + } +} -- Gitblit v1.8.0