7 changed files with 126 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||
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; |
|||
|
|||
/** |
|||
* 项目提醒--根据手机号、短信模板编码,发送短信 验证码 |
|||
* |
|||
* @author sun |
|||
*/ |
|||
@Data |
|||
public class ProjectSendMsgFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 8894395590639206399L; |
|||
/** |
|||
* 手机号 |
|||
*/ |
|||
@NotBlank(message = "手机号不能为空", groups = {AddUserInternalGroup.class, AddUserShowGroup.class}) |
|||
private String mobile; |
|||
/** |
|||
* 场景: |
|||
*/ |
|||
@NotBlank(message = "短信模板编码不能为空", groups = {AddUserInternalGroup.class}) |
|||
private String aliyunTemplateCode; |
|||
|
|||
public interface AddUserInternalGroup {} |
|||
|
|||
public interface AddUserShowGroup extends CustomerClientShowGroup {} |
|||
} |
Loading…
Reference in new issue