File was renamed from screen-manage/src/main/java/com/moral/api/pojo/request/AccountInsertRequest.java |
| | |
| | | package com.moral.api.pojo.request; |
| | | package com.moral.api.pojo.form; |
| | | |
| | | import com.moral.api.entity.ManageRole; |
| | | import lombok.Data; |
| | | import org.springframework.util.ObjectUtils; |
| | | |
| | |
| | | * @Version TODO |
| | | **/ |
| | | @Data |
| | | public class AccountInsertRequest implements Serializable{ |
| | | public class AccountInsertForm implements Serializable{ |
| | | |
| | | |
| | | private String account; |
| | |
| | | ObjectUtils.isEmpty(password) || |
| | | ObjectUtils.isEmpty(email) || |
| | | ObjectUtils.isEmpty(mobile) || |
| | | ObjectUtils.isEmpty(userName) || |
| | | ObjectUtils.isEmpty(roleIds) |
| | | ObjectUtils.isEmpty(userName) |
| | | ) |
| | | return false; |
| | | return true; |