-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #411 from code4romania/bugfix/fix-2-issues
fix 2 issues
- Loading branch information
Showing
2 changed files
with
36 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
using Newtonsoft.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace VoteMonitor.Api.Form.Models; | ||
|
||
public class FormDetailsModel | ||
{ | ||
[JsonProperty(PropertyName = "id")] | ||
[JsonPropertyName("id")] | ||
public int Id { get; set; } | ||
|
||
[JsonProperty(PropertyName = "code")] | ||
[JsonPropertyName("code")] | ||
public string Code { get; set; } | ||
|
||
[JsonProperty(PropertyName = "description")] | ||
[JsonPropertyName("description")] | ||
public string Description { get; set; } | ||
|
||
[JsonProperty(PropertyName = "ver")] | ||
[JsonPropertyName("ver")] | ||
public int CurrentVersion { get; set; } | ||
|
||
[JsonProperty(PropertyName = "diaspora")] | ||
[JsonPropertyName("diaspora")] | ||
public bool Diaspora { get; set; } | ||
|
||
[JsonProperty(PropertyName = "order")] | ||
[JsonPropertyName("order")] | ||
public int Order { get; set; } | ||
|
||
[JsonProperty(PropertyName = "draft")] | ||
[JsonPropertyName("draft")] | ||
public bool Draft { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters