using Marco.Pms.Model.Master;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using System.ComponentModel.DataAnnotations.Schema;

namespace Marco.Pms.Model.OrganizationModel
{
    public class OrgServiceMapping
    {
        public Guid Id { get; set; }
        public Guid OrganizationId { get; set; }

        [ValidateNever]
        [ForeignKey("OrganizationId")]
        public Organization? Organization { get; set; }
        public Guid ServiceId { get; set; }

        [ValidateNever]
        [ForeignKey("ServiceId")]
        public GlobalServiceMaster? Service { get; set; }
    }
}
