gongzuming
2024-09-19 a768dc3daa04d35fedfbe75c0a59b9b2545b85c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package com.mzl.flower.dto.response.current;
 
import com.mzl.flower.base.AbstractTransDTO;
import com.mzl.flower.dto.response.customer.CustomerDTO;
import com.mzl.flower.dto.response.partner.PartnerDTO;
import com.mzl.flower.dto.response.supplier.SupplierDTO;
import com.mzl.flower.dto.response.system.MenuTreeDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.List;
 
@Data
public class CurrentUserDTO extends AbstractTransDTO {
 
    private String id;
 
    private String type;
 
    @ApiModelProperty(value = "用户名")
    private String loginName;
 
    @ApiModelProperty(value = "昵称")
    private String nickName;
 
    @ApiModelProperty(value = "手机号")
    private String tel;
 
    @ApiModelProperty(value = "头像")
    private String picture;
 
    @ApiModelProperty(value = "菜单列表")
    private List<MenuTreeDTO> menus;
 
    @ApiModelProperty(value = "角色")
    private List<String> roles;
 
//    @ApiModelProperty(value = "菜单列表")
//    private List<String> menuList;
 
 
    @ApiModelProperty(value = "供应商信息")
    private SupplierDTO supplierDTO;
 
    @ApiModelProperty(value = "合伙人信息")
    private PartnerDTO partnerDTO;
 
    @ApiModelProperty(value = "商户信息")
    private CustomerDTO customerDTO;
 
    @ApiModelProperty(value = "是否绑定微信")
    private Boolean bindWechat;
 
    @ApiModelProperty(value = "当前积分")
    private Integer currentPoint;
 
    @ApiModelProperty(value = "是否总仓权限")
    private Boolean mainWarehouse;
}