17 changed files with 283 additions and 24 deletions
@ -0,0 +1,84 @@ |
|||
/** |
|||
* Copyright 2018 人人开源 https://www.renren.io
|
|||
* <p> |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* <p> |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* <p> |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/ |
|||
|
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
/** |
|||
* 用户居民端注册信息表 用户在居民端完善的个人信息 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2020-03-30 |
|||
*/ |
|||
@Data |
|||
public class InfoSubmitFromDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 手机号(注册手机号) |
|||
*/ |
|||
@NotBlank(message = "手机号不能为空") |
|||
private String regMobile; |
|||
|
|||
/** |
|||
* 姓氏 |
|||
*/ |
|||
@NotBlank(message = "姓氏不能为空") |
|||
private String surname; |
|||
|
|||
/** |
|||
* 名称 |
|||
*/ |
|||
@NotBlank(message = "名称不能为空") |
|||
private String name; |
|||
|
|||
/** |
|||
* 街道 |
|||
*/ |
|||
@NotBlank(message = "所在街道不能为空") |
|||
private String street; |
|||
|
|||
/** |
|||
* 小区名称 |
|||
*/ |
|||
private String district; |
|||
|
|||
/** |
|||
* 楼栋单元 |
|||
*/ |
|||
private String buildingAddress; |
|||
|
|||
/** |
|||
* 居民注册行为记录表Id resi_visit.id |
|||
*/ |
|||
private String resiVisitId; |
|||
|
|||
/** |
|||
* 手机验证码 |
|||
*/ |
|||
@NotBlank(message = "手机验证码不能为空") |
|||
private String mobileCode; |
|||
|
|||
|
|||
} |
@ -0,0 +1,42 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description 同步用户微信信息接口入参DTO |
|||
* @Author sun |
|||
*/ |
|||
|
|||
@Data |
|||
public class WxUserInfoFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
//@NotBlank(message = "用户Id不能为空")
|
|||
private String userId; |
|||
|
|||
//@NotBlank(message = "昵称不能为空")
|
|||
private String nickName; |
|||
|
|||
/** |
|||
* 性别0未知1男性2女性 |
|||
*/ |
|||
@NotBlank(message = "性别不能为空") |
|||
private String gender; |
|||
|
|||
@NotBlank(message = "头像不能为空") |
|||
private String avatarUrl; |
|||
|
|||
//@NotBlank(message = "所在省份不能为空")
|
|||
private String province; |
|||
|
|||
//@NotBlank(message = "所在国家不能为空")
|
|||
private String country; |
|||
|
|||
//@NotBlank(message = "所在城市不能为空")
|
|||
private String city; |
|||
|
|||
} |
@ -0,0 +1,11 @@ |
|||
FROM java:8 |
|||
|
|||
RUN export LANG="zh_CN.UTF-8" |
|||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime |
|||
RUN echo 'Asia/Shanghai' > /etc/timezone |
|||
|
|||
COPY ./target/*.jar ./app.jar |
|||
|
|||
EXPOSE 8087 |
|||
|
|||
ENTRYPOINT ["java","-jar","./app.jar"] |
@ -0,0 +1,6 @@ |
|||
version: "3.7" |
|||
services: |
|||
web: |
|||
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud/epmet-user-server:2.0.0 |
|||
ports: |
|||
- "8087:8087" |
Loading…
Reference in new issue