From 65ff2a6fe7fca5dbba0207c6621a287837910982 Mon Sep 17 00:00:00 2001 From: Kevin Joy Date: Mon, 13 Nov 2023 11:19:42 +0000 Subject: [PATCH] Added other class/division --- .../TeachingRecordSystem.Api/V2/ApiModels/ClassDivision.cs | 3 +++ .../Dqt/Models/GeneratedOptionSets.cs | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Api/V2/ApiModels/ClassDivision.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Api/V2/ApiModels/ClassDivision.cs index f62ee4ea35..3008f19ec7 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Api/V2/ApiModels/ClassDivision.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Api/V2/ApiModels/ClassDivision.cs @@ -56,6 +56,9 @@ public enum ClassDivision [Description("Upper second class honours")] UpperSecondClassHonours = 389040001, + + [Description("Other")] + Other = 389040017, } public static class ClassDivisionExtensions diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GeneratedOptionSets.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GeneratedOptionSets.cs index 63da879cef..4dbb4e3be9 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GeneratedOptionSets.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/GeneratedOptionSets.cs @@ -1208,6 +1208,10 @@ public enum dfeta_classdivision " a non-honours course", 9)] Ordinary_includingdivisionsofordinaryifanydegreeawardedafterfollowinganonhonourscourse = 389040009, + [System.Runtime.Serialization.EnumMemberAttribute()] + [OptionSetMetadataAttribute("Other", 17, "#0000ff")] + Other = 389040017, + [System.Runtime.Serialization.EnumMemberAttribute()] [OptionSetMetadataAttribute("Pass", 13)] Pass = 389040013,