StateMap.cs 683 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. 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. Property(f => f.InitialPercentage);
  21. }
  22. }
  23. }