package com.sptg.permissions.api.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.sptg.permissions.api.entity.Account;
import com.sptg.permissions.api.entity.AccountRole;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * title: AccountRoleDto
 * package: com.sptg.permissions.api.dto
 * description:
 *
 *                  
 *                 
 */
@Setter
@Getter
public class AccountRoleDto extends AccountRole {

    /**
     * 当前在线用户
     */
    @TableField(exist = false)
    private Account onLineUser;

    /**
     * 选中的机构Id
     */
    @TableField(exist = false)
    private Long selectedId;

    /**
     * 账号Id列表
     */
    @TableField(exist = false)
    private String accountIds;

    /**
     * 账号Id列表
     */
    @TableField(exist = false)
    private List<Long> accountIdList;
}
