Exemplo n.º 1
0
        public virtual void CopyFrom(BaseUser source)
        {
            base.CopyFrom(source);

            this.Account       = source.Account;
            this.DepId         = source.DepId;
            this.DepName       = source.DepName;
            this.GroupId       = source.GroupId;
            this.GroupName     = source.GroupName;
            this.HeadImagePath = source.HeadImagePath;

            this.OrganizationId   = source.OrganizationId;
            this.OrganizationPath = source.OrganizationPath;
            this.Password         = source.Password;
            this.PhotoPath        = source.PhotoPath;
            this.Sex = source.Sex;
        }
Exemplo n.º 2
0
 public BaseUser(BaseUser source)
 {
     this.CopyFrom(source);
 }