﻿using IntelliTect.Coalesce.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coalesce.Domain
{
    [Table("CaseProduct")]
    public class CaseProduct
    {
        public int CaseProductId { get; set; }
        public int CaseId { get; set; }

        [Search]
        public Case Case { get; set; } = null!;

        public int ProductId { get; set; }

        [Search]
        public Product Product { get; set; } = null!;
    }
}
