chore: initial commit

This commit is contained in:
Matthias Langhard
2020-12-07 22:00:24 +01:00
commit 75a687e31e
20 changed files with 507 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
using System.Collections.Generic;
namespace Novaloop.PaymoApi.Tasks.Models
{
public class CreateTaskRequest
{
public string Name { get; set; }
public string Description { get; set; }
public int TasklistId { get; set; }
public List<int> Users { get; set; }
}
}

View File

@@ -0,0 +1,7 @@
namespace Novaloop.PaymoApi.Tasks.Models
{
public class CreateTaskResponse : PaymoTask
{
}
}

View File

@@ -0,0 +1,9 @@
using System.Collections.Generic;
namespace Novaloop.PaymoApi.Tasks.Models
{
public class GetTasksResponse
{
public IEnumerable<PaymoTask> Tasks { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace Novaloop.PaymoApi.Tasks.Models
{
public class PaymoTask
{
public int Id { get; set; }
public string Name { get; set; }
public string Code { get; set; }
public int ProjectId { get; set; }
public int TasklistId { get; set; }
public int UserId { get; set; }
public bool Complete { get; set; }
public bool Billable { get; set; }
public int Seq { get; set; }
public string Description { get; set; }
public object PricePerHour { get; set; }
public object DueDate { get; set; }
public object BudgetHours { get; set; }
public List<int> Users { get; set; }
public DateTime CreatedOn { get; set; }
public DateTime UpdatedOn { get; set; }
}
}