private PermissionModel(Guid id, IntranetMemberGroup group, PermissionSettingIdentity settingIdentity, PermissionSettingValues settingValues)
 {
     Id              = id;
     Group           = group;
     SettingIdentity = settingIdentity;
     SettingValues   = settingValues;
 }
 public static PermissionManagementModel Of(
     IntranetMemberGroup group,
     PermissionSettingSchema permissionSettingHierarchicalItem,
     PermissionSettingValues settingValues) =>
 new PermissionManagementModel(
     group,
     permissionSettingHierarchicalItem.SettingIdentity,
     permissionSettingHierarchicalItem.ParentActionType,
     settingValues);
 public PermissionManagementModel(
     IntranetMemberGroup group,
     PermissionSettingIdentity settingIdentity,
     Option <Enum> parentActionType,
     PermissionSettingValues settingValues)
 {
     Group            = group;
     SettingIdentity  = settingIdentity;
     ParentActionType = parentActionType;
     SettingValues    = settingValues;
 }
 public static PermissionModel Of(PermissionSettingIdentity settingIdentity, PermissionSettingValues settingValues,
                                  IntranetMemberGroup group) =>
 new PermissionModel(Guid.NewGuid(), group, settingIdentity, settingValues);