public override int GetHashCode()
 {
     unchecked
     {
         return((SettingIdentity.GetHashCode() * 397) ^ (ParentActionType != null ? ParentActionType.GetHashCode() : 0));
     }
 }
 public bool Equals(PermissionSettingSchema other)
 {
     return(SettingIdentity.Equals(other.SettingIdentity) && Equals(ParentActionType, other.ParentActionType));
 }