package com.wd.workoffice.bean;

import java.util.List;

/**
 * author : flexible
 * email : lgd19940421@163.com
 * github: https://github.com/FlexibleXd
 **/
public class UserInfoBean {

        /**
         * createdBy : 1
         * createdByName : null
         * createdTime : 2020-06-09 11:11:16
         * updatedBy : 1
         * updatedByName : null
         * updatedTime : 2020-06-11 09:06:42
         * id : 137
         * userName : zhouy
         * nickName : 周毅
         * identifier : null
         * phone : 15092119606
         * email : 111@qq.com
         * type : 2
         * status : 1
         * erpId : EM1810001
         * roles : [{"createdBy":1,"createdByName":null,"createdTime":"2019-08-27 14:17:33","updatedBy":111,"updatedByName":null,"updatedTime":"2019-11-22 10:39:44","id":3,"code":"SUPER_ADMIN","name":"超级管理员","level":0,"status":"1","dataScope":7,"displayNo":null,"customizeDataScope":"2,101,1","dataScopeName":"全系统","noticeIds":null,"createdUser":null}]
         * permissionList : ["order:so:invoice-apply:apply:save","finance:money-back-apply:exam","order:ao:invoice-apply:audit","common","equipment:equipmentPurchase:update","order:return-apply-flow:list","base:product:price:update","order:po:return-apply:page:list","order:sale:return-apply:edit:dept-admin","order:package-order:details","app:base:transit-part-manage:update","order:po:enter-store-apply:apply:save","order:so:out-store-apply:apply:audit","app:order:co:enter-store-apply:page:list","app:finance:dept-account-balance:exchange:details","equipment:equipmentRepair:page:list","order:fo:quality-inspection:page:list","base:transit-part-manage:details","app:finance:dept-account-balance:details","finance:dept-account-balance:balance:update","order:po:use-apply:apply:save","finance:money-pay-apply:exam","order:po:use-apply:page:list","order:ao:package-apply:apply:save","order:sale-order:apply","equipment:spare-part:page:list","order:purchase-order:details","order:so:use-apply:audit","order:po:receipt-invoice-apply:page:list","order:po:receipt-invoice-apply:audit","app:base:transit-part-manage:page:list","order:sale:return-apply:edit:business-department","app:finance:dept-account-balance:balance:update-shelf","order:po:enter-stock-type:update","base:product:shelf","equipment:equipmetnRepair:add","order:po:invoice-apply:audit","order:ao:use-apply:apply:save","app:order:ao:package-order:page:list","order:requisitions:fo","order:suppplier-order:details","equipment:equipment:page:list","order:so:advance-finish-apply:page:list","finance:finance-tax:page:update","finance:finance-tax:page:detail","finance:money-pay-apply:apply","order:co:enter-store-apply:audit","app:order:po:enter-store-apply:page:list","app:order:so:enter-store-apply:page:list","equipment:equipmentRepair:finish","market:inspection:page:list","finance:logistics-flow:page:list","order:so:advance-finish-apply:apply:save","base:product:transit:log","finance:finance-dept-flow:page:list","app:order:purchase-order:page:list","finance:money-pay-apply:page:list","order:fo:enter-store-apply:apply:save","order:co:out-store-apply:page:list","stockQuantityDetail:page:list","app:finance:dept-account-balance:co:details","order:po:out-store-apply:page:list","order:po:advance-finish-apply:apply:save","equipment:equipmentPurchase:finish","order:purchase-order:audit","app:base:stock-type:list","order:po:advance-finish-apply:page:list","order:po:invoice-apply:page:list","equipment:equipmentPurchase:add","order:ao:use-apply:page:list","order:fo:enter-store-apply:audit","order:inside-order:audit","order:supplier-order:audit","stockQuantityFlow:page:list","finance:logistics:page:list","market:dispatch:save","order:crucible-order:details","order:supplier-order:apply","order:ao:package-apply:audit","finance:logistics-apply:page:list","finance:money-back-apply:apply","order:fo:receipt-invoice-apply:page:list","order:fo:receipt-invoice-apply:audit","order:so:enter-store-apply:audit","base:customer-branch-factory:page:list","app:order:inside-order:page:list","sys:dept:ruler:update","order:inside-order:details","base:product:page:list","order:so:out-store-apply:apply:save","order:co:invoice-apply:apply:save","finance:finance-tax:page:list","order:so:return-apply:apply:save","finance:dept-account-balance:page:list","app:order:sale-order:page:list","base:sub-process:list","order:fo:quality-inspection:audit","order:requisitions:page:list","order:purchase-order:apply","order:po:use-apply:audit","market:dispatch:page:list","order:crucible-order:start","base:finance-type:page:list","order:so:use-apply:page:list","order:po:invoice-apply:apply:save","stock:stock:page:list","stockQuantity:order:page:list","stockQuantity:page:list","finance:money-back-apply:page:list","app:order:fo:enter-store-apply:page:list","app:order:io:enter-store-apply:page:list","order:supplier-order:start","equipment:equipmentPurchase:apply","order:sale-order:details","equipment:equipmentPurchase:page:list","finance:dept-ar-ap-part-flow:page:list","app:finance:dept-ar-ap-part-detail:details","order:po:return-apply:apply:save","order:so:out-store-apply:page:list","app:order:ao:package-apply:page:list","order:po:out-store-apply:apply:audit","order:co:invoice-apply:page:list","order:so:enter-store-apply:apply:save","order:so:invoice-apply:audit","app:finance:dept-account-balance:tax:details","app:order:crucible-order:page:list","equipment:equipmentRepair:update","order:purchase-order:start","stockQuantityDetailFlow:page:list","order:io:enter-store-apply:apply:save","order:sale-order:audit","order:co:out-store-apply:apply:save","order:co:enter-store-apply:apply:save","order:so:use-apply:apply:save","order:po:advance-finish-apply:audit","equipment:equipmentRepairItem:list","order:ao:invoice-apply:page:list","order:po:receipt-invoice-apply:apply:save","finance:logistics-apply:save","order:inside-order:start","order:co:out-store-apply:apply:audit","market:dispatch:receive","order:co:invoice-apply:audit","order:po:return-apply:edit","order:crucible-order:apply","order:sale-order:start","order:ao:invoice-apply:apply:save","order:ao:use-apply:audit","order:sale:return-apply:edit:group","order:fo:receipt-invoice-apply:apply:save","app:finance:finance-dept-flow:shelf:page:list","order:crucible-order:audit","order:inside-order:apply","app:sys:dept:details","finance:finance-tax:page:add","finance:logistics-apply:update","equipment:equipmentRepair:apply","finance:finance-tax:dept:list","order:po:out-store-apply:apply:save","order:so:invoice-apply:page:list","order:po:enter-store-apply:audit","market:inspection:save","order:inside-product-list:page:list","order:so:advance-finish-apply:audit","order:sale:return-apply:edit:finance-dept","order:io:enter-store-apply:audit","app:order:supplier-order:page:list","order:so:return-apply:page:list"]
         * ofDept : {"createdBy":1,"createdByName":null,"createdTime":"2020-06-09 11:03:38","updatedBy":113,"updatedByName":null,"updatedTime":"2020-06-15 17:21:53","id":379,"parentId":"GK","status":"1","type":2,"typeString":null,"outdeptLedger":"{\"gk\":\"\",\"gt\":\"\"}","permission":null,"permissionString":null,"tag":null,"code":"GK27","name":"销售二公司（GK）","level":0,"erpId":"GK27","children":null,"deptRulers":null,"deptRulerList":null,"deptUserList":null,"targetUserOfRuler":"1","deptRulerTotal":null,"gk":null,"gt":null,"deptPermission":["INSIDE_SELL","ES_BUY"]}
         * access : SUPER_ADMIN
         * ofDeptRuler : 1
         * roleNames : null
         * deptName : null
         * roleId : null
         * deptId : null
         */

        private int createdBy;
        private Object createdByName;
        private String createdTime;
        private int updatedBy;
        private Object updatedByName;
        private String updatedTime;
        private int id;
        private String userName;
        private String nickName;
        private Object identifier;
        private String phone;
        private String email;
        private String type;
        private String status;
        private String erpId;
        private OfDeptBean ofDept;
        private String access;
        private String ofDeptRuler;
        private Object roleNames;
        private Object deptName;
        private Object roleId;
        private Object deptId;
        private List<RolesBean> roles;
        private List<String> permissionList;

        public int getCreatedBy() {
            return createdBy;
        }

        public void setCreatedBy(int createdBy) {
            this.createdBy = createdBy;
        }

        public Object getCreatedByName() {
            return createdByName;
        }

        public void setCreatedByName(Object createdByName) {
            this.createdByName = createdByName;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public int getUpdatedBy() {
            return updatedBy;
        }

        public void setUpdatedBy(int updatedBy) {
            this.updatedBy = updatedBy;
        }

        public Object getUpdatedByName() {
            return updatedByName;
        }

        public void setUpdatedByName(Object updatedByName) {
            this.updatedByName = updatedByName;
        }

        public String getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(String updatedTime) {
            this.updatedTime = updatedTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public Object getIdentifier() {
            return identifier;
        }

        public void setIdentifier(Object identifier) {
            this.identifier = identifier;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getErpId() {
            return erpId;
        }

        public void setErpId(String erpId) {
            this.erpId = erpId;
        }

        public OfDeptBean getOfDept() {
            return ofDept;
        }

        public void setOfDept(OfDeptBean ofDept) {
            this.ofDept = ofDept;
        }

        public String getAccess() {
            return access;
        }

        public void setAccess(String access) {
            this.access = access;
        }

        public String getOfDeptRuler() {
            return ofDeptRuler;
        }

        public void setOfDeptRuler(String ofDeptRuler) {
            this.ofDeptRuler = ofDeptRuler;
        }

        public Object getRoleNames() {
            return roleNames;
        }

        public void setRoleNames(Object roleNames) {
            this.roleNames = roleNames;
        }

        public Object getDeptName() {
            return deptName;
        }

        public void setDeptName(Object deptName) {
            this.deptName = deptName;
        }

        public Object getRoleId() {
            return roleId;
        }

        public void setRoleId(Object roleId) {
            this.roleId = roleId;
        }

        public Object getDeptId() {
            return deptId;
        }

        public void setDeptId(Object deptId) {
            this.deptId = deptId;
        }

        public List<RolesBean> getRoles() {
            return roles;
        }

        public void setRoles(List<RolesBean> roles) {
            this.roles = roles;
        }

        public List<String> getPermissionList() {
            return permissionList;
        }

        public void setPermissionList(List<String> permissionList) {
            this.permissionList = permissionList;
        }

        public static class OfDeptBean {
            /**
             * createdBy : 1
             * createdByName : null
             * createdTime : 2020-06-09 11:03:38
             * updatedBy : 113
             * updatedByName : null
             * updatedTime : 2020-06-15 17:21:53
             * id : 379
             * parentId : GK
             * status : 1
             * type : 2
             * typeString : null
             * outdeptLedger : {"gk":"","gt":""}
             * permission : null
             * permissionString : null
             * tag : null
             * code : GK27
             * name : 销售二公司（GK）
             * level : 0
             * erpId : GK27
             * children : null
             * deptRulers : null
             * deptRulerList : null
             * deptUserList : null
             * targetUserOfRuler : 1
             * deptRulerTotal : null
             * gk : null
             * gt : null
             * deptPermission : ["INSIDE_SELL","ES_BUY"]
             */

            private int createdBy;
            private Object createdByName;
            private String createdTime;
            private int updatedBy;
            private Object updatedByName;
            private String updatedTime;
            private int id;
            private String parentId;
            private String status;
            private int type;
            private Object typeString;
            private String outdeptLedger;
            private Object permission;
            private Object permissionString;
            private Object tag;
            private String code;
            private String name;
            private int level;
            private String erpId;
            private Object children;
            private Object deptRulers;
            private Object deptRulerList;
            private Object deptUserList;
            private String targetUserOfRuler;
            private Object deptRulerTotal;
            private Object gk;
            private Object gt;
            private List<String> deptPermission;

            public int getCreatedBy() {
                return createdBy;
            }

            public void setCreatedBy(int createdBy) {
                this.createdBy = createdBy;
            }

            public Object getCreatedByName() {
                return createdByName;
            }

            public void setCreatedByName(Object createdByName) {
                this.createdByName = createdByName;
            }

            public String getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(String createdTime) {
                this.createdTime = createdTime;
            }

            public int getUpdatedBy() {
                return updatedBy;
            }

            public void setUpdatedBy(int updatedBy) {
                this.updatedBy = updatedBy;
            }

            public Object getUpdatedByName() {
                return updatedByName;
            }

            public void setUpdatedByName(Object updatedByName) {
                this.updatedByName = updatedByName;
            }

            public String getUpdatedTime() {
                return updatedTime;
            }

            public void setUpdatedTime(String updatedTime) {
                this.updatedTime = updatedTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public Object getTypeString() {
                return typeString;
            }

            public void setTypeString(Object typeString) {
                this.typeString = typeString;
            }

            public String getOutdeptLedger() {
                return outdeptLedger;
            }

            public void setOutdeptLedger(String outdeptLedger) {
                this.outdeptLedger = outdeptLedger;
            }

            public Object getPermission() {
                return permission;
            }

            public void setPermission(Object permission) {
                this.permission = permission;
            }

            public Object getPermissionString() {
                return permissionString;
            }

            public void setPermissionString(Object permissionString) {
                this.permissionString = permissionString;
            }

            public Object getTag() {
                return tag;
            }

            public void setTag(Object tag) {
                this.tag = tag;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public String getErpId() {
                return erpId;
            }

            public void setErpId(String erpId) {
                this.erpId = erpId;
            }

            public Object getChildren() {
                return children;
            }

            public void setChildren(Object children) {
                this.children = children;
            }

            public Object getDeptRulers() {
                return deptRulers;
            }

            public void setDeptRulers(Object deptRulers) {
                this.deptRulers = deptRulers;
            }

            public Object getDeptRulerList() {
                return deptRulerList;
            }

            public void setDeptRulerList(Object deptRulerList) {
                this.deptRulerList = deptRulerList;
            }

            public Object getDeptUserList() {
                return deptUserList;
            }

            public void setDeptUserList(Object deptUserList) {
                this.deptUserList = deptUserList;
            }

            public String getTargetUserOfRuler() {
                return targetUserOfRuler;
            }

            public void setTargetUserOfRuler(String targetUserOfRuler) {
                this.targetUserOfRuler = targetUserOfRuler;
            }

            public Object getDeptRulerTotal() {
                return deptRulerTotal;
            }

            public void setDeptRulerTotal(Object deptRulerTotal) {
                this.deptRulerTotal = deptRulerTotal;
            }

            public Object getGk() {
                return gk;
            }

            public void setGk(Object gk) {
                this.gk = gk;
            }

            public Object getGt() {
                return gt;
            }

            public void setGt(Object gt) {
                this.gt = gt;
            }

            public List<String> getDeptPermission() {
                return deptPermission;
            }

            public void setDeptPermission(List<String> deptPermission) {
                this.deptPermission = deptPermission;
            }
        }

        public static class RolesBean {
            /**
             * createdBy : 1
             * createdByName : null
             * createdTime : 2019-08-27 14:17:33
             * updatedBy : 111
             * updatedByName : null
             * updatedTime : 2019-11-22 10:39:44
             * id : 3
             * code : SUPER_ADMIN
             * name : 超级管理员
             * level : 0
             * status : 1
             * dataScope : 7
             * displayNo : null
             * customizeDataScope : 2,101,1
             * dataScopeName : 全系统
             * noticeIds : null
             * createdUser : null
             */

            private int createdBy;
            private Object createdByName;
            private String createdTime;
            private int updatedBy;
            private Object updatedByName;
            private String updatedTime;
            private int id;
            private String code;
            private String name;
            private int level;
            private String status;
            private int dataScope;
            private Object displayNo;
            private String customizeDataScope;
            private String dataScopeName;
            private Object noticeIds;
            private Object createdUser;

            public int getCreatedBy() {
                return createdBy;
            }

            public void setCreatedBy(int createdBy) {
                this.createdBy = createdBy;
            }

            public Object getCreatedByName() {
                return createdByName;
            }

            public void setCreatedByName(Object createdByName) {
                this.createdByName = createdByName;
            }

            public String getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(String createdTime) {
                this.createdTime = createdTime;
            }

            public int getUpdatedBy() {
                return updatedBy;
            }

            public void setUpdatedBy(int updatedBy) {
                this.updatedBy = updatedBy;
            }

            public Object getUpdatedByName() {
                return updatedByName;
            }

            public void setUpdatedByName(Object updatedByName) {
                this.updatedByName = updatedByName;
            }

            public String getUpdatedTime() {
                return updatedTime;
            }

            public void setUpdatedTime(String updatedTime) {
                this.updatedTime = updatedTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getDataScope() {
                return dataScope;
            }

            public void setDataScope(int dataScope) {
                this.dataScope = dataScope;
            }

            public Object getDisplayNo() {
                return displayNo;
            }

            public void setDisplayNo(Object displayNo) {
                this.displayNo = displayNo;
            }

            public String getCustomizeDataScope() {
                return customizeDataScope;
            }

            public void setCustomizeDataScope(String customizeDataScope) {
                this.customizeDataScope = customizeDataScope;
            }

            public String getDataScopeName() {
                return dataScopeName;
            }

            public void setDataScopeName(String dataScopeName) {
                this.dataScopeName = dataScopeName;
            }

            public Object getNoticeIds() {
                return noticeIds;
            }

            public void setNoticeIds(Object noticeIds) {
                this.noticeIds = noticeIds;
            }

            public Object getCreatedUser() {
                return createdUser;
            }

            public void setCreatedUser(Object createdUser) {
                this.createdUser = createdUser;
            }
        }
}
