Models: Add payment_member

This commit is contained in:
2023-09-07 00:40:53 +02:00
parent 1c45e95ef3
commit be734b880f
5 changed files with 47 additions and 16 deletions

View File

@ -1,4 +1,4 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
@ -65,5 +65,8 @@ namespace Elwig.Models {
[Column("data")]
public string Data { get; set; }
[ForeignKey("Year")]
public virtual Season Season { get; private set; }
}
}