28 changed files with 453 additions and 105 deletions
@ -1,81 +0,0 @@ |
|||
/** |
|||
* 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.resi; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.ArrayList; |
|||
|
|||
/** |
|||
* 用户活动打卡参数 |
|||
* |
|||
* @author zhangyong |
|||
* @since v1.0.0 2020-07-14 |
|||
*/ |
|||
@Data |
|||
public class ActUserClockLogFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 用户ID |
|||
*/ |
|||
private String userId; |
|||
/** |
|||
* 活动ID |
|||
*/ |
|||
@NotBlank(message = "活动ID不能为空") |
|||
private String actId; |
|||
/** |
|||
* 打卡类型(0-打卡,1-更新打卡) |
|||
*/ |
|||
@NotBlank(message = "打卡类型不能为空") |
|||
private String clockType; |
|||
/** |
|||
* 打卡位置经度 |
|||
*/ |
|||
@NotBlank(message = "打卡位置经度不能为空") |
|||
private BigDecimal clockLongitude; |
|||
/** |
|||
* 打卡位置纬度 |
|||
*/ |
|||
@NotBlank(message = "打卡位置纬度不能为空") |
|||
private BigDecimal clockLatitude; |
|||
/** |
|||
* 打卡地址 |
|||
*/ |
|||
@NotBlank(message = "打卡地址不能为空") |
|||
private String clockAddress; |
|||
/** |
|||
* 打卡描述 |
|||
*/ |
|||
@NotBlank(message = "打卡描述不能为空") |
|||
private String clockDesc; |
|||
/** |
|||
* 打卡是否有效(0-否,1-是) |
|||
*/ |
|||
@NotBlank(message = "打卡是否有效不能为空") |
|||
private String effectiveFlag; |
|||
/** |
|||
* 打卡图片 |
|||
*/ |
|||
private ArrayList<String> images; |
|||
} |
@ -0,0 +1,61 @@ |
|||
/** |
|||
* 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.resi; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 活动报名参数 |
|||
* |
|||
* @author zhangyong |
|||
* @since v1.0.0 2020-07-20 |
|||
*/ |
|||
@Data |
|||
public class ResiActRegistrationFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
//>>>>>>>>>>>>>>>>>校验分组开始>>>>>>>>>>>>>>>>>>>>>
|
|||
/** |
|||
* 添加用户操作的内部异常分组 |
|||
* 出现错误会提示给前端7000错误码,返回信息为:服务器开小差... |
|||
*/ |
|||
public interface AddUserInternalGroup {} |
|||
|
|||
// <<<<<<<<<<<<<<<<<<<校验分组结束<<<<<<<<<<<<<<<<<<<<<<<<
|
|||
|
|||
/** |
|||
* 用户Id |
|||
*/ |
|||
private String userId; |
|||
|
|||
/** |
|||
* 活动ID |
|||
*/ |
|||
@NotBlank(message = "活动ID不能为空", groups = { AddUserInternalGroup.class }) |
|||
private String actId; |
|||
|
|||
/** |
|||
* 客户ID |
|||
*/ |
|||
@NotBlank(message = "客户ID不能为空", groups = { AddUserInternalGroup.class }) |
|||
private String customerId; |
|||
} |
Loading…
Reference in new issue