using System.ComponentModel.DataAnnotations.Schema; namespace PowderCoating.Core.Entities { /// /// Join table for the many-to-many relationship between Jobs and PrepServices /// public class JobPrepService : BaseEntity { public int JobId { get; set; } public int PrepServiceId { get; set; } // Navigation properties [ForeignKey(nameof(JobId))] public virtual Job Job { get; set; } = null!; [ForeignKey(nameof(PrepServiceId))] public virtual PrepService PrepService { get; set; } = null!; } }