|
|
@ -17,11 +17,13 @@ |
|
|
|
|
|
|
|
package com.epmet.dto.form; |
|
|
|
|
|
|
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import lombok.Data; |
|
|
|
import org.hibernate.validator.constraints.Length; |
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
import java.io.Serializable; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
@ -73,11 +75,13 @@ public class AddSocietyOrgFormDTO implements Serializable { |
|
|
|
/** |
|
|
|
* 起始服务时间 |
|
|
|
*/ |
|
|
|
@NotNull(message = "起始服务时间不能为空", groups = { AddSocietyOrgFormDTO.Add.class }) |
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|
|
|
private Date serviceStartTime; |
|
|
|
/** |
|
|
|
* 终止服务时间 |
|
|
|
*/ |
|
|
|
@NotNull(message = "终止服务时间不能为空", groups = { AddSocietyOrgFormDTO.Add.class }) |
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
|
|
|
private Date serviceEndTime; |
|
|
|
/** |
|
|
@ -100,6 +104,6 @@ public class AddSocietyOrgFormDTO implements Serializable { |
|
|
|
//token中userId
|
|
|
|
private String staffId; |
|
|
|
|
|
|
|
public interface Add {} |
|
|
|
public interface Add extends CustomerClientShowGroup {} |
|
|
|
|
|
|
|
} |