Skip to content

Commit

Permalink
remove redundant qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin committed Oct 15, 2024
1 parent 3cd7bfc commit f61aeb3
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class DataMarketLocationProperties
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketLocationProperty")]
public MarketLocationProperty MarketLocationProperty { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion MaLoIdentModels/MaLoIdentModels/IdentificationParameter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class IdentificationParameter
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonConverter(typeof(DateTimeOffsetWithTrailingZConverter))]
[JsonPropertyName("identificationDateTime")]
Expand Down
4 changes: 2 additions & 2 deletions MaLoIdentModels/MaLoIdentModels/MarketLocationDateTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ namespace MaLoIdentModels;
public class MarketLocationDateTime
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
[Key]
public Guid? Id { get; set; }

[JsonPropertyName("maloId")]
[RegularExpression(@"\d{11}")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class MarketLocationMeasuringPointOperator
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketPartnerId")]
public long MarketPartnerId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class MarketLocationNetworkOperator
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketPartnerId")]
public long MarketPartnerId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class MarketLocationProperties
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonConverter(typeof(JsonStringEnumConverter))]
[JsonPropertyName("marketLocationProperty")]
Expand Down
2 changes: 1 addition & 1 deletion MaLoIdentModels/MaLoIdentModels/MarketLocationSupplier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class MarketLocationSupplier
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketPartnerId")]
public long MarketPartnerId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class MarketLocationTransmissionSystemOperator
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketPartnerId")]
public long MarketPartnerId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class MeterLocationMeasuringPointOperator
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketPartnerId")]
public long MarketPartnerId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class NetworkLocationMeasuringPointOperator
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketPartnerId")]
public long MarketPartnerId { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion MaLoIdentModels/MaLoIdentModels/ResultNegative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace MaLoIdentModels;
public class ResultNegative
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
[Key]
public System.Guid? Id { get; set; }

[JsonPropertyName("decisionTree")]
Expand Down
2 changes: 1 addition & 1 deletion MaLoIdentModels/MaLoIdentModels/ResultPositive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace MaLoIdentModels;
public class ResultPositive
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
[Key]
public System.Guid? Id { get; set; }

[JsonPropertyName("dataMarketLocation")]
Expand Down
2 changes: 1 addition & 1 deletion MaLoIdentModels/MaLoIdentModels/SrMarketPartner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class SrMarketPartner
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketPartnerId")]
public long MarketPartnerId { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion MaLoIdentModels/MaLoIdentModels/TrancheSupplier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class TrancheSupplier
{
[JsonIgnore]
[System.ComponentModel.DataAnnotations.Key]
public System.Guid? Id { get; set; }
public Guid? Id { get; set; }

[JsonPropertyName("marketPartnerId")]
public long MarketPartnerId { get; set; }
Expand Down

0 comments on commit f61aeb3

Please sign in to comment.