|
|
|
@ -7,6 +7,7 @@ import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -37,7 +38,7 @@ public class WorkdiaryServiceRecordDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 服务类型 |
|
|
|
*/ |
|
|
|
@NotBlank(message = "服务类型为必填项", groups = { Save.class, Update.class }) |
|
|
|
@NotNull(message = "服务类型为必填项", groups = { Save.class, Update.class }) |
|
|
|
private Short serviceType; |
|
|
|
private String serviceTypeName; |
|
|
|
|
|
|
|
|