MailNotificationMap.cs 747 B

1234567891011121314151617181920212223242526
  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 MailNotificationMap : EntityTypeConfiguration<MailNotification>
  11. {
  12. public MailNotificationMap()
  13. {
  14. ToTable("MailNotification");
  15. HasKey(m => m.Id);
  16. Property(m => m.CronExpression);
  17. Property(m => m.NotificationPluginSystemName);
  18. Property(m => m.IsDailySummary);
  19. Property(m => m.IsWeeklySummary);
  20. Property(m => m.IsMonthlySummary);
  21. }
  22. }
  23. }