using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MTWorkHR.Infrastructure.Entities;
using MTWorkHR.Core.Entities.Base;

namespace MTWorkHR.Infrastructure.Configurations
{
    public class AttachmentTypeConfiguration : IEntityTypeConfiguration<AttachmentType>
    {
        
        public void Configure(EntityTypeBuilder<AttachmentType> builder)
        {
            
            builder.HasData(
                new AttachmentType
                {
                    Id = 1,
                    NameEn = "CV",
                    NameAr = "السيرة الذاتية"
                },
                new AttachmentType
                {
                    Id = 2,
                    NameEn = "Passport",
                    NameAr = "جواز السفر"
                }
                ,
                new AttachmentType
                {
                    Id = 3,
                    NameEn = "Education Certification",
                    NameAr = "شهادة التعليم"
                }
                ,
                new AttachmentType
                {
                    Id = 4,
                    NameEn = "Experience Certification",
                    NameAr = "شهادة الخبرة"
                }
                ,
                new AttachmentType
                {
                    Id = 5,
                    NameEn = "Professional Certification",
                    NameAr = "شهادة الاحتراف"
                },
                new AttachmentType
                {
                    Id = 6,
                    NameEn = "Commercial Regestration",
                    NameAr = "التسجيل التجارى"
                },
                new AttachmentType
                {
                    Id = 7,
                    NameEn = "Tax Declaration",
                    NameAr = "البطاقة الضريبية"
                }
                ,
                new AttachmentType
                {
                    Id = 8,
                    NameEn = "Identification",
                    NameAr = "الهوية"
                },
                new AttachmentType
                {
                    Id = 9,
                    NameEn = "Image",
                    NameAr = "الصورة"
                },
                 new AttachmentType
                 {
                     Id = 10,
                     NameEn = "Ticket Cost",
                     NameAr = "تكلفة التذكرة"
                 }
                 ,
                  new AttachmentType
                  {
                      Id = 11,
                      NameEn = "Transportation Cost",
                      NameAr = "تكلفة المواصلات"
                  }
                  , new AttachmentType
                  {
                      Id = 12,
                      NameEn = "Accommodation Cost",
                      NameAr = "تكلفة الاقامة"
                  },
                   new AttachmentType
                   {
                       Id = 13,
                       NameEn = "Other",
                       NameAr = "اخرى"
                   }
               ) ;
        }
    }
}