forked from rongchao/epmet-cloud-rizhao
10 changed files with 176 additions and 12 deletions
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 核酸检测-我的上报记录 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class MyNatListFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 9156247659994638103L; |
|||
|
|||
public interface MyNat extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
/** |
|||
* 身份证号 |
|||
*/ |
|||
@NotBlank(message = "身份证号不能为空", groups = MyNat.class) |
|||
private String idCard; |
|||
|
|||
//token信息
|
|||
private String customerId; |
|||
|
|||
} |
@ -0,0 +1,70 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Description 核酸检测-我的上报记录 |
|||
* @Author sun |
|||
*/ |
|||
@Data |
|||
public class MyNatListResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 1L; |
|||
/** |
|||
* 核酸记录Id |
|||
*/ |
|||
private String icNatId; |
|||
/** |
|||
* 居民端小程序的用户id、数字社区的icResiUserId、其他情况无值 |
|||
*/ |
|||
private String userId; |
|||
/** |
|||
* 居民端小程序的人:resi;数字社区的居民:icresi;未关联上的:other |
|||
*/ |
|||
private String userType; |
|||
|
|||
/** |
|||
* 姓名 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 手机号 |
|||
*/ |
|||
private String mobile; |
|||
|
|||
/** |
|||
* 身份证号 |
|||
*/ |
|||
private String idCard; |
|||
|
|||
/** |
|||
* 检测时间,yyyy-MM-dd HH:mm |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") |
|||
private Date natTime; |
|||
|
|||
/** |
|||
* 检测结果 |
|||
*/ |
|||
private String natResult; |
|||
|
|||
/** |
|||
* 检测地点 |
|||
*/ |
|||
private String natAddress; |
|||
|
|||
/** |
|||
* 附件名 |
|||
*/ |
|||
private String fileName; |
|||
|
|||
/** |
|||
* 附件地址 |
|||
*/ |
|||
private String attachmentUrl; |
|||
|
|||
} |
Loading…
Reference in new issue