Ejemplo n.º 1
0
        public override IEntity Copy()
        {
            t_usergroup_authority model = new t_usergroup_authority();

            model.groupAuthorityId_ = this.groupAuthorityId;
            model.userGroupId_      = this.userGroupId;
            model.authorityId_      = this.authorityId;
            model.status_           = this.status;
            return(model);
        }
Ejemplo n.º 2
0
        public override IEntity SetModel(DataRow dataRow)
        {
            t_usergroup_authority model = new t_usergroup_authority();

            model.groupAuthorityId_ = dataRow["groupAuthorityId"] as string;
            model.userGroupId_      = dataRow["userGroupId"] as string;
            model.authorityId_      = dataRow["authorityId"] as string;
            model.status_           = dataRow["status"] as string;

            return(model);
        }