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.

24 lines
547 B

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