Add support for filling backed enum types in the DB ORM layer, and cleanup some formatting issues

This commit is contained in:
Alex Cabal 2024-04-25 11:53:39 -05:00
parent e7a9790147
commit 5b3f8f7b77
8 changed files with 57 additions and 54 deletions

View file

@ -1,16 +1,4 @@
<?
enum EbookSourceType{
case ProjectGutenberg;
case ProjectGutenbergAustralia;
case ProjectGutenbergCanada;
case InternetArchive;
case HathiTrust;
case Wikisource;
case GoogleBooks;
case FadedPage;
case Other;
}
class EbookSource{
public EbookSourceType $Type;
public string $Url;