using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using wispro.sp.entity;

namespace wispro.sp.datamap
{
    public class StaffMap : IEntityTypeConfiguration<Staff>
    {
        public void Configure(EntityTypeBuilder<Staff> builder)
        {
            builder.HasKey(o => o.Id);
            //builder.HasOne(o => o.StaffGrade).WithMany(o => o.Staffs).HasForeignKey("StaffGradeId");
        }

    }
    
}
