ani03sha / beetleblog

MIT License
0 stars 0 forks source link

Create data model for Article and User #1

Closed ani03sha closed 3 years ago

ani03sha commented 3 years ago

The Article data model should include the following fields:

        String articleId;
    String title;
    String summary;
    String content;
    Date createdDate;
    Date updatedDate;
    User author;

The User data model should include the following fields

    String userId;
    String fullName;
    String username;
    String email;
    String password;
    String bio;
    String profilePic; // URL of the pic stored in the database
    Set<Article> articles;

Note - Add additional fields, if required.

ani03sha commented 3 years ago

Fixed via Pull Request #4