forked from sanchezvem/PyroFetes
13 lines
361 B
C#
13 lines
361 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace PyroFetes.Models;
|
|
|
|
[PrimaryKey(nameof(ContactId), nameof(CustomerId))]
|
|
public class CustomerContact
|
|
{
|
|
public int CustomerId { get; set; }
|
|
public Customer? Customer { get; set; }
|
|
public int ContactId { get; set; }
|
|
public Contact? Contact { get; set; }
|
|
} |