chore: initial commit
This commit is contained in:
13
src/Shared/Models/BexioBaseModel.cs
Normal file
13
src/Shared/Models/BexioBaseModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Novaloop.BexioApi.Shared.Models
|
||||
{
|
||||
public class BexioBaseModel
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[JsonPropertyName("nr")]
|
||||
public string Nr { get; set; }
|
||||
}
|
||||
}
|
||||
16
src/Shared/Models/BexioSearchParameter.cs
Normal file
16
src/Shared/Models/BexioSearchParameter.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Novaloop.BexioApi.Shared.Models
|
||||
{
|
||||
public class BexioSearchParameter
|
||||
{
|
||||
[JsonProperty("field")]
|
||||
public string Field { get; set; }
|
||||
|
||||
[JsonProperty("value")]
|
||||
public string Value { get; set; }
|
||||
|
||||
[JsonProperty("criteria")]
|
||||
public string Criteria { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user