REQ-3201: 指定发送人
This commit is contained in:
parent
9be0b55009
commit
9143244911
@ -12,6 +12,7 @@ import lombok.NoArgsConstructor;
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
@ -25,7 +26,7 @@ public class SendTemplateMessageParam {
|
||||
/**
|
||||
* 发送人
|
||||
*/
|
||||
@NotBlank(message = "发送人不能为空")
|
||||
@NotNull(message = "发送人不能为空")
|
||||
private PersonAccountAttribute sender;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user