StatusMap.cs 608 B

123456789101112131415161718192021222324
  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. namespace GreenTree.Nachtragsmanagement.Data.Mapping.Deviation
  8. {
  9. public class StatusMap : EntityTypeConfiguration<Core.Domain.Deviation.Status>
  10. {
  11. public StatusMap()
  12. {
  13. ToTable("Status");
  14. HasKey(f => f.Id);
  15. Property(f => f.Description);
  16. Property(f => f.IsDefault);
  17. Property(f => f.IsZeroValue);
  18. Property(f => f.IsZeroSummarize);
  19. }
  20. }
  21. }