Models: Small payment fixes

This commit is contained in:
2023-09-07 16:54:33 +02:00
parent 47e8ab7e62
commit 2de4739e9d
3 changed files with 25 additions and 7 deletions

View File

@ -48,6 +48,12 @@ namespace Elwig.Models {
[InverseProperty("Season")]
public virtual ISet<Modifier> Modifiers { get; private set; }
[InverseProperty("Season")]
public virtual ISet<PaymentVar> PaymentVariants { get; private set; }
[InverseProperty("Season")]
public virtual ISet<Delivery> Deliveries { get; private set; }
public decimal DecFromDb(long value) {
return Utils.DecFromDb(value, Precision);
}