File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Unicorn.Contracts/ContractsService Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ public Address()
39
39
{
40
40
}
41
41
42
- [ JsonPropertyName ( "number" ) ] public int Number { get ; set ; }
43
- [ JsonPropertyName ( "street" ) ] public string ? Street { get ; set ; }
44
- [ JsonPropertyName ( "city" ) ] public string ? City { get ; set ; }
45
- [ JsonPropertyName ( "country" ) ] public string Country { get ; } = "USA" ;
42
+ public int Number { get ; set ; }
43
+ public string ? Street { get ; set ; }
44
+ public string ? City { get ; set ; }
45
+ public string Country { get ; } = "USA" ;
46
46
47
47
public Dictionary < string , AttributeValue > ToMap ( )
48
48
{
@@ -62,15 +62,15 @@ public Dictionary<string, AttributeValue> ToMap()
62
62
/// </summary>
63
63
public class CreateContractRequest
64
64
{
65
- [ JsonPropertyName ( "property_id" ) ] public string ? PropertyId { get ; set ; }
66
- [ JsonPropertyName ( "address" ) ] public Address ? Address { get ; set ; }
67
- [ JsonPropertyName ( "seller_name" ) ] public string ? SellerName { get ; set ; }
65
+ public string ? PropertyId { get ; set ; }
66
+ public Address ? Address { get ; set ; }
67
+ public string ? SellerName { get ; set ; }
68
68
}
69
69
70
70
/// <summary>
71
71
/// This class represents the structure of a request body to create a new contract.
72
72
/// </summary>
73
73
public class UpdateContractRequest
74
74
{
75
- [ JsonPropertyName ( "property_id" ) ] public string ? PropertyId { get ; set ; }
75
+ public string ? PropertyId { get ; set ; }
76
76
}
You can’t perform that action at this time.
0 commit comments