diff --git a/Cicm.Database/Schemas/Enums.cs b/Cicm.Database/Schemas/Enums.cs new file mode 100644 index 00000000..585b4f55 --- /dev/null +++ b/Cicm.Database/Schemas/Enums.cs @@ -0,0 +1,45 @@ +/****************************************************************************** +// Canary Islands Computer Museum Website +// ---------------------------------------------------------------------------- +// +// Filename : Enums.cs +// Author(s) : Natalia Portillo +// +// --[ Description ] ---------------------------------------------------------- +// +// Enumerations. +// +// --[ License ] -------------------------------------------------------------- +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// ---------------------------------------------------------------------------- +// Copyright © 2003-2018 Natalia Portillo +*******************************************************************************/ + +namespace Cicm.Database.Schemas +{ + public enum NewsType + { + NewComputerInDb = 1, + NewConsoleInDb = 2, + NewComputerInCollection = 3, + NewConsoleInCollection = 4, + UpdatedComputerInDb = 5, + UpdatedConsoleInDb = 6, + UpdatedComputerInCollection = 7, + UpdatedConsoleInCollection = 8, + NewMoneyDonation = 9 + } +} \ No newline at end of file diff --git a/Cicm.Database/Schemas/News.cs b/Cicm.Database/Schemas/News.cs index bb31c143..c5020531 100644 --- a/Cicm.Database/Schemas/News.cs +++ b/Cicm.Database/Schemas/News.cs @@ -42,17 +42,4 @@ namespace Cicm.Database.Schemas /// News type public NewsType Type; } - - public enum NewsType : int - { - NewComputerInDb = 1, - NewConsoleInDb = 2, - NewComputerInCollection = 3, - NewConsoleInCollection = 4, - UpdatedComputerInDb = 5, - UpdatedConsoleInDb = 6, - UpdatedComputerInCollection = 7, - UpdatedConsoleInCollection = 8, - NewMoneyDonation = 9 - } } \ No newline at end of file