SubscriptionLimitsConfiguration.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Microsoft.AspNetCore.Identity;
  2. using Microsoft.EntityFrameworkCore.Metadata.Builders;
  3. using Microsoft.EntityFrameworkCore;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using MTWorkHR.Infrastructure.Entities;
  10. using MTWorkHR.Core.Entities.Base;
  11. using MTWorkHR.Core.Entities;
  12. using Countries.NET.Database;
  13. using System.Runtime.ConstrainedExecution;
  14. namespace MTWorkHR.Infrastructure.Configurations
  15. {
  16. public class SubscriptionLimitsConfiguration : IEntityTypeConfiguration<SubscriptionConfiguration>
  17. {
  18. public void Configure(EntityTypeBuilder<SubscriptionConfiguration> builder)
  19. {
  20. builder.HasData(
  21. new SubscriptionConfiguration {
  22. Id = 1,
  23. ContractDocumentationFees =0,
  24. CreateDate = new DateTime(2025, 1,1),
  25. DeductedFirstSearchAmount=0,
  26. DistinguishedEmployeeCompanyFeesPerc=0,
  27. DistinguishedEmployeePerc=0,
  28. ExperienceCertificateFees=0,
  29. FirstRegisterationCompanyFees=0,
  30. MonthlyCompanyFees=0,
  31. MonthlyEmployeeServicesCompanyFees=0,
  32. OrdinaryEmployeePerc=0,
  33. RequestDisputeResolutionFees=0,
  34. YearlyCompanyFees=0,
  35. IsDeleted=false,
  36. CreateUser = "ADMB3B92-2311-48F8-9DEC-F9FAEF1F21UA",
  37. }
  38. );
  39. }
  40. }
  41. }