7 changed files with 100 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
@Data |
||||
|
public class IcResiPointPageFormDTO implements Serializable { |
||||
|
public interface AddUserInternalGroup { |
||||
|
} |
||||
|
//@NotBlank(message = "epmetUserId不能为空" , groups = AddUserInternalGroup.class)
|
||||
|
private String epmetUserId; |
||||
|
@NotNull(message = "pageNo不能为空",groups = AddUserInternalGroup.class) |
||||
|
private Integer pageNo; |
||||
|
@NotNull(message = "pageSize不能为空",groups = AddUserInternalGroup.class) |
||||
|
private Integer pageSize; |
||||
|
|
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
@Data |
||||
|
public class ResiPointPageResDTO implements Serializable { |
||||
|
private String title; |
||||
|
private String id; |
||||
|
|
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
||||
|
private Date dateTime; |
||||
|
|
||||
|
/** |
||||
|
* +100 -25 |
||||
|
* */ |
||||
|
private String point; |
||||
|
} |
Loading…
Reference in new issue