Added Entry initial repo and services for a create action.
This commit is contained in:
18
Component/Entries/Service/EntryResources.cs
Normal file
18
Component/Entries/Service/EntryResources.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace Diary.Component.Entries.Service
|
||||
{
|
||||
public class EntryResource
|
||||
{
|
||||
public int EnrtyID { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
public DateTime ValidFrom { get; set; }
|
||||
public DateTime? ValidTo { get; set; }
|
||||
public string Note { get; set; }
|
||||
}
|
||||
|
||||
public class CreateEntryResource
|
||||
{
|
||||
public DateTime Date { get; set; }
|
||||
public string Note { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user