You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
568 B

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Sevomin.Models
  9. {
  10. public class ParameterValue
  11. {
  12. [Required]
  13. [Index]
  14. [Key]
  15. [Column(Order=1)]
  16. [StringLength(50)]
  17. public string GroupKey { get; set; }
  18. [Required]
  19. [Key]
  20. [Column(Order = 2)]
  21. [StringLength(50)]
  22. public string Value { get; set; }
  23. }
  24. }