|
@ -18,7 +18,9 @@ |
|
|
package com.epmet.dto; |
|
|
package com.epmet.dto; |
|
|
|
|
|
|
|
|
import com.epmet.commons.tools.validator.group.AddGroup; |
|
|
import com.epmet.commons.tools.validator.group.AddGroup; |
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
import lombok.Data; |
|
|
import lombok.Data; |
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat; |
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
import javax.validation.constraints.NotBlank; |
|
|
import java.io.Serializable; |
|
|
import java.io.Serializable; |
|
@ -49,7 +51,6 @@ public class IcPartyActivityDTO implements Serializable { |
|
|
/** |
|
|
/** |
|
|
* 组织ID |
|
|
* 组织ID |
|
|
*/ |
|
|
*/ |
|
|
@NotBlank(message = "agencyId不能为空",groups = AddGroup.class) |
|
|
|
|
|
private String agencyId; |
|
|
private String agencyId; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -95,7 +96,8 @@ public class IcPartyActivityDTO implements Serializable { |
|
|
/** |
|
|
/** |
|
|
* 活动时间 |
|
|
* 活动时间 |
|
|
*/ |
|
|
*/ |
|
|
@NotBlank(message = "活动时间不能为空",groups = AddGroup.class) |
|
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
|
|
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
|
private Date activityTime; |
|
|
private Date activityTime; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|