package com.gz.vo.system;

import com.gz.vo.PageVO;
import lombok.Data;
import org.apache.commons.lang.StringUtils;

/**
 * @author LiuchangLan
 * @date 2020/9/4 15:00
 */
@Data
public class AdminVO extends PageVO {

    // 管理员姓名
    private String adminName;

    // 登录名
    private String account;

    // 手机号
    private String phone;

    // 部门id
    private String dept;

    // 权限id
    private String roleId;

    public AdminVO(String adminName,String account){
        this.adminName = StringUtils.isNotBlank(adminName) ? adminName.trim() : null;
        this.account = StringUtils.isNotBlank(account) ? account.trim() : null;
    }
}
