Revert "班组评价"

This reverts commit e8908512
This commit is contained in:
cwchen 2024-03-14 13:31:47 +08:00
parent e8908512a8
commit 67ad03bdd8
1 changed files with 0 additions and 18 deletions

View File

@ -3,10 +3,6 @@ package com.securitycontrol.entity.system.base.vo;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
/**
* @authorcwchen
@ -21,13 +17,9 @@ public class TeamQuEvalVo {
private String evalId;
@ApiModelProperty(value = "班组ID")
@NotBlank(message = "班组ID不能为空", groups = {TeamQuEvalVo.Query.class})
@Length(max = 100, message = "班组ID字符长度不能超过100", groups = {TeamQuEvalVo.Query.class})
private String teamId;
@ApiModelProperty(value = "班组名称")
@NotBlank(message = "班组名称不能为空", groups = {TeamQuEvalVo.Query.class})
@Length(max = 30, message = "班组名称字符长度不能超过30", groups = {TeamQuEvalVo.Query.class})
private String teamName;
@ApiModelProperty(value = "班组长")
@ -43,22 +35,12 @@ public class TeamQuEvalVo {
private String evaluator;
@ApiModelProperty(value = "星级分")
@NotBlank(message = "评价星级不能为空", groups = {TeamQuEvalVo.Query.class})
@Pattern(regexp="^([1-9]||10)$", message="评价星级为1-5星",groups = {TeamQuEvalVo.Query.class})
private String score;
@ApiModelProperty(value = "评价内容")
@NotBlank(message = "评价内容不能为空", groups = {TeamQuEvalVo.Query.class})
@Length(max = 100, message = "评价内容字符长度不能超过100", groups = {TeamQuEvalVo.Query.class})
private String content;
@ApiModelProperty(value = "1.新增 2.修改")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private Integer type;
/**
* 查询条件限制
*/
public interface Query {
}
}