Created project architecture
This commit is contained in:
34
models/LoginDto.cs
Normal file
34
models/LoginDto.cs
Normal 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
3
models/LoginDto.cs.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bb7db611010e4a4ea253408f8f639da1
|
||||
timeCreated: 1679384960
|
19
models/Trash.cs
Normal file
19
models/Trash.cs
Normal 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
3
models/Trash.cs.meta
Normal file
@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d491b601d266438383bff39599d5b2a1
|
||||
timeCreated: 1679385878
|
Reference in New Issue
Block a user