NotificationEventMap.cs 551 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data.Entity.ModelConfiguration;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using GreenTree.Nachtragsmanagement.Core.Domain.Misc;
  8. namespace GreenTree.Nachtragsmanagement.Data.Mapping.Misc
  9. {
  10. public class NotificationEventMap : EntityTypeConfiguration<NotificationEvent>
  11. {
  12. public NotificationEventMap()
  13. {
  14. ToTable("NotificationEvent");
  15. HasKey(n => n.Id);
  16. Property(n => n.Description);
  17. }
  18. }
  19. }