13 changed files with 186 additions and 4 deletions
@ -0,0 +1,38 @@ |
|||
package com.elink.esua.epdc.dto.group.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.Size; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* |
|||
* 修改群介绍Form DTO |
|||
* |
|||
* @Author:liuchuang |
|||
* @Date:2019/10/22 15:28 |
|||
*/ |
|||
@Data |
|||
public class GroupIntroductionFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -9116266878310792465L; |
|||
|
|||
/** |
|||
* 社群ID |
|||
*/ |
|||
@NotBlank(message = "社群ID不能为空") |
|||
private String id; |
|||
|
|||
/** |
|||
* 社群介绍 |
|||
*/ |
|||
@NotBlank(message = "社群介绍不能为空且在500个字以内") |
|||
@Size(min = 1, max = 500, message = "社群介绍不能为空且在500个字以内") |
|||
private String groupIntroduction; |
|||
|
|||
/** |
|||
* 用户ID |
|||
*/ |
|||
@NotBlank(message = "用户ID不能为空") |
|||
private String userId; |
|||
} |
|||
Loading…
Reference in new issue