Skip to content

Commit

Permalink
Add PurchaseId prop to Voucher entity
Browse files Browse the repository at this point in the history
  • Loading branch information
TTA777 committed Sep 21, 2023
1 parent c0635a6 commit cf90f16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion coffeecard/CoffeeCard.Models/Entities/Voucher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class Voucher

public User? User { get; set; }

public Purchase? Purchase { get; set; }
public int? PurchaseId { get; set; }

public virtual Purchase? Purchase { get; set; }
}
}

0 comments on commit cf90f16

Please sign in to comment.