diff options
author | crupest <crupest@outlook.com> | 2022-11-26 17:21:33 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-26 17:21:33 +0800 |
commit | 80bb178ab3234fb7b883c6489ff3c5e2631e208e (patch) | |
tree | 588d8efd20f1e427a9c72ce8fadd8a5dcb0b4879 /docker/crupest-api/CrupestApi/Config/TodosConfiguration.cs | |
parent | 63e43d1a9b880c92d73b7ec97b596c38d3e758e2 (diff) | |
download | crupest-80bb178ab3234fb7b883c6489ff3c5e2631e208e.tar.gz crupest-80bb178ab3234fb7b883c6489ff3c5e2631e208e.tar.bz2 crupest-80bb178ab3234fb7b883c6489ff3c5e2631e208e.zip |
Add crupest-api.
Diffstat (limited to 'docker/crupest-api/CrupestApi/Config/TodosConfiguration.cs')
-rw-r--r-- | docker/crupest-api/CrupestApi/Config/TodosConfiguration.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docker/crupest-api/CrupestApi/Config/TodosConfiguration.cs b/docker/crupest-api/CrupestApi/Config/TodosConfiguration.cs new file mode 100644 index 0000000..68f893a --- /dev/null +++ b/docker/crupest-api/CrupestApi/Config/TodosConfiguration.cs @@ -0,0 +1,15 @@ +using System.ComponentModel.DataAnnotations; + +namespace CrupestApi.Config +{ + public class TodoConfiguration + { + [Required] + public string Username { get; set; } = default!; + [Required] + public int ProjectNumber { get; set; } = default!; + [Required] + public string Token { get; set; } = default!; + public int? Count { get; set; } + } +}
\ No newline at end of file |