package com.yunfeiyun.agmp.common.core.domain.model;

public class SyncUser {
    private String userId;
    private String deptId;
    private String token;
    private Long loginTime;
    private Long expireTime;
    private String ipaddr;
    private String loginLocation;
    private String browser;
    private String os;
    private String userLoginname;
    private String userName;
    private String userEmail;
    private String userMobile;
    private String deptParentid;
    private String deptLevelcode;
    private String deptName;
    private String deptSeq;
    private String deptManager;
    private String deptPhone;
    private String deptEmail;
    private String deptDelstatus;
    private String parentName;
    private String deptCreator;
    private String deptCreateddate;
    private String deptModifier;
    private String deptModifieddate;
    private String deptRemark;


    public SyncUser setUser(String userId,
             String deptId,
             Long loginTime,
             Long expireTime,
             String ipaddr,
             String loginLocation,
             String browser,
             String os,
             String userLoginname,
             String userName,
             String userEmail,
             String userMobile){
            this.userId =  userId;
            this.deptId =  deptId;
            this.loginTime = loginTime;
            this.expireTime = expireTime;
            this.ipaddr = ipaddr;
            this.loginLocation = loginLocation;
            this.browser = browser;
            this.os = os;
            this.userLoginname = userLoginname;
            this.userName = userName;
            this.userEmail = userEmail;
            this.userMobile = userMobile;
            return this;
    }


    public SyncUser setDept( String deptParentid,
             String deptLevelcode,
             String deptName,
             String deptSeq,
             String deptManager,
             String deptPhone,
             String deptEmail,
             String deptDelstatus,
             String parentName,
             String deptCreator,
             String deptCreateddate,
             String deptModifier,
             String deptModifieddate,
             String deptRemark){
        this.deptParentid =  deptParentid;
        this.deptLevelcode =  deptLevelcode;
        this.deptName = deptName;
        this.deptSeq = deptSeq;
        this.deptManager = deptManager;
        this.deptPhone = deptPhone;
        this.deptEmail = deptEmail;
        this.deptDelstatus = deptDelstatus;
        this.parentName = parentName;
        this.deptCreator = deptCreator;
        this.deptCreateddate = deptCreateddate;
        this.deptModifier = deptModifier;
        this.deptModifieddate = deptModifieddate;
        this.deptRemark = deptRemark;
        return this;
    }
}
