/**
 *Created by cuiliqiang on 2018/3/12
 * 获取用户角色信息
 */
import { Data } from "../../Data";

export class GetRoleData extends Data {
    /**
     * 性别
     */
    public role: string;

    public update(data: any): void {
        if (!data) {
            return;
        }
        super.update(data);
        this.role = data.data.role;
    }
}