-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add comments delimiting fields. for blob fields, use return key instead of scrolling to content type fields. add flicker2 JDL for test dont add onSubmitEditing that throws error - can't focus on enums
- Loading branch information
Showing
7 changed files
with
139 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* This is the application and entity model for the Flickr app (https://github.com/mraible/mobile-jhipster/) application from Matt Raible | ||
*/ | ||
|
||
entity Album { | ||
title String required | ||
description TextBlob | ||
created Instant | ||
} | ||
|
||
entity Photo { | ||
title String required | ||
description TextBlob | ||
image ImageBlob required | ||
height Integer | ||
width Integer | ||
taken Instant | ||
uploaded Instant | ||
} | ||
|
||
entity Tag { | ||
name String required minlength(2) | ||
} | ||
|
||
relationship ManyToOne { | ||
Album{user(login)} to User | ||
Photo{album(title)} to Album | ||
} | ||
|
||
relationship ManyToMany { | ||
Photo{tag(name)} to Tag{photo} | ||
} | ||
|
||
paginate Album with pagination | ||
paginate Photo, Tag with infinite-scroll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters