StateMap.cs 635 B

12345678910111213141516171819202122232425
  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 StateMap : EntityTypeConfiguration<Core.Domain.Appendix.State>
  10. {
  11. public StateMap()
  12. {
  13. ToTable("State");
  14. HasKey(f => f.Id);
  15. Property(f => f.Description);
  16. Property(f => f.HexColor);
  17. Property(f => f.IsZeroValue);
  18. Property(f => f.IsDefault);
  19. Property(f => f.IsFinish);
  20. }
  21. }
  22. }