package com.tzy.common.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.github.dozermapper.core.Mapping;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author by po'yi
 * @Classname UserInfo
 * @Description 用户信息
 * @Date 2022/8/18 15:46
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserInfo implements Serializable {
	private Integer id;
	/**昵称*/
	private String nickname;
	/**头像*/
	private String avatar;
	/**角色code*/
	@Mapping("code")
	private String roleCode;
	private Integer merchantId;
	private String merchantName;
	private String merchantAvatar;
	/**权限*/
	private List<String> permissionsList;
}