Store fee
This commit is contained in:
@ -22,9 +22,11 @@ public class PaymentsConfiguration : IEntityTypeConfiguration<Payment>
|
||||
builder.Property(a => a.Nostr);
|
||||
builder.Property(a => a.Type)
|
||||
.IsRequired();
|
||||
builder.Property(a => a.Fee)
|
||||
.IsRequired();
|
||||
|
||||
builder.HasOne(a => a.User)
|
||||
.WithMany(a => a.Payments)
|
||||
.HasForeignKey(a => a.PubKey);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user