-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Nolette
committed
Jan 8, 2020
1 parent
f1c0f07
commit 4a729fd
Showing
4 changed files
with
59 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace dot_social.Database { | ||
public class User { | ||
} | ||
|
||
public class Relationship { | ||
} | ||
|
||
public class Profile { | ||
} | ||
|
||
public class Location { | ||
} | ||
|
||
public class Tag { | ||
} | ||
|
||
public class Post { | ||
} | ||
} |
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,31 @@ | ||
using System; | ||
|
||
namespace dot_social.Models { | ||
public class UserDto { | ||
public DateTime Date { get; set; } | ||
|
||
public int TemperatureC { get; set; } | ||
|
||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); | ||
|
||
public string Summary { get; set; } | ||
} | ||
|
||
public class UserCollectionDto { | ||
} | ||
|
||
public class UserProfileDto { | ||
} | ||
|
||
public class TagDto { | ||
} | ||
|
||
public class TagCollectionDto { | ||
} | ||
|
||
public class PostDto { | ||
} | ||
|
||
public class PostCollectionDto { | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
* [-] TODO: Create defintiions for data transfer objects (DTOs). | ||
* [ ] Create model for `User` entity. | ||
* [ ] Create model for `Post` entity. | ||
* [ ] Decide whether or not a `Comment` entity is necessary. | ||
* [ ] Create model for `Tag` entity. | ||
|