Skip to content

Commit

Permalink
Navigation property UserSignature at DispenserDTO can be null (#30
Browse files Browse the repository at this point in the history
)

* Navigation property `UserSignature` at `DispenserDTO` can be `null`

* - revert `DispenserContextModelSnapshot` changes
  • Loading branch information
ArdenHide authored Dec 12, 2024
1 parent 57ecfbe commit 356b2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DispenserProvider.DataBase/Models/DispenserDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class DispenserDTO

[Column(TypeName = "nvarchar(132)")]
public string? Signature { get; set; }
public virtual SignatureDTO UserSignature { get; set; } = null!;
public virtual SignatureDTO? UserSignature { get; set; } = null!;

public long WithdrawalDetailId { get; set; }
public virtual TransactionDetailDTO WithdrawalDetail { get; set; } = null!;
Expand Down

0 comments on commit 356b2b0

Please sign in to comment.