Created project architecture

This commit is contained in:
Nicolas SANS
2023-03-21 09:59:44 +01:00
commit 4c873d4d09
14 changed files with 194 additions and 0 deletions

34
models/LoginDto.cs Normal file
View File

@ -0,0 +1,34 @@
using System;
namespace models
{
[Serializable]
public class LoginRequest
{
public String username;
public String password;
}
[Serializable]
public class LoginResponse
{
public Record record { get; set; }
public string token { get; set; }
public class Record
{
public string avatar { get; set; }
public string collectionId { get; set; }
public string collectionName { get; set; }
public string created { get; set; }
public string email { get; set; }
public bool emailVisibility { get; set; }
public string id { get; set; }
public string name { get; set; }
public string updated { get; set; }
public string username { get; set; }
public bool verified { get; set; }
}
}
}

3
models/LoginDto.cs.meta Normal file
View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: bb7db611010e4a4ea253408f8f639da1
timeCreated: 1679384960

19
models/Trash.cs Normal file
View File

@ -0,0 +1,19 @@
using System;
namespace models
{
[Serializable]
public class Trash
{
public String id;
public String collectionId;
public String collectionName;
public DateTime created;
public DateTime updated;
public Int16 value;
public String trash_id;
public String unit;
public Boolean status;
public String field;
}
}

3
models/Trash.cs.meta Normal file
View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: d491b601d266438383bff39599d5b2a1
timeCreated: 1679385878