最新产品
This commit is contained in:
		
							
								
								
									
										26
									
								
								src/main/java/com/yj/earth/dto/user/AddUserDto.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								src/main/java/com/yj/earth/dto/user/AddUserDto.java
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
			
		||||
package com.yj.earth.dto.user;
 | 
			
		||||
 | 
			
		||||
import com.yj.earth.annotation.ExcludeField;
 | 
			
		||||
import io.swagger.v3.oas.annotations.media.Schema;
 | 
			
		||||
import lombok.Data;
 | 
			
		||||
 | 
			
		||||
@Data
 | 
			
		||||
public class AddUserDto {
 | 
			
		||||
    @Schema(description = "用户名")
 | 
			
		||||
    private String username;
 | 
			
		||||
 | 
			
		||||
    @Schema(description = "密码")
 | 
			
		||||
    private String password;
 | 
			
		||||
 | 
			
		||||
    @Schema(description = "头像")
 | 
			
		||||
    private String avatar;
 | 
			
		||||
 | 
			
		||||
    @Schema(description = "昵称")
 | 
			
		||||
    private String nickname;
 | 
			
		||||
 | 
			
		||||
    @Schema(description = "手机号")
 | 
			
		||||
    private String phone;
 | 
			
		||||
 | 
			
		||||
    @Schema(description = "所属角色")
 | 
			
		||||
    private String roleId;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user