IAddress: Add IAddress

This commit is contained in:
2023-09-07 13:49:56 +02:00
parent f9d95a48f2
commit de53bfdd2b
3 changed files with 12 additions and 2 deletions

View File

@ -1,9 +1,10 @@
using Elwig.Helpers;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
namespace Elwig.Models {
[Table("member_billing_address"), PrimaryKey("MgNr")]
public class BillingAddr {
public class BillingAddr : IAddress {
[Column("mgnr")]
public int MgNr { get; set; }