File was renamed from screen-manage/src/main/java/com/moral/api/pojo/request/AccountAddRequest.java |
| | |
| | | import lombok.Data; |
| | | import org.springframework.util.ObjectUtils; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | * @Version TODO |
| | | **/ |
| | | @Data |
| | | public class AccountAddRequest { |
| | | public class AccountInsertRequest implements Serializable{ |
| | | |
| | | |
| | | private String account; |
| | |
| | | |
| | | public boolean valid() { |
| | | if ( |
| | | ObjectUtils.isEmpty(account) || |
| | | ObjectUtils.isEmpty(account) || |
| | | ObjectUtils.isEmpty(password) || |
| | | ObjectUtils.isEmpty(email) || |
| | | ObjectUtils.isEmpty(mobile) || |
| | | ObjectUtils.isEmpty(userName) || |
| | | ObjectUtils.isEmpty(isDelete) || |
| | | ObjectUtils.isEmpty(roleIds) |