mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Add support for filling backed enum types in the DB ORM layer, and cleanup some formatting issues
This commit is contained in:
parent
e7a9790147
commit
5b3f8f7b77
8 changed files with 57 additions and 54 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue