TDEV_DevData.cs 699 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.ComponentModel.DataAnnotations;
  7. using System.ComponentModel.DataAnnotations.Schema;
  8. namespace Ropin.Inspection.Model.Entities
  9. {
  10. public class TDEV_DevData
  11. {
  12. [Required, Key]
  13. public Guid C_ID { get; set; } = Guid.NewGuid();
  14. [Required, MaxLength(50)]
  15. public string C_DeviceCode { get; set; }
  16. [Required, MaxLength(50)]
  17. public string C_ConfigCode { get; set; }
  18. [Required, MaxLength(50)]
  19. public string C_Value { get; set; }
  20. [Required]
  21. public DateTime D_CreateOn { get; set; }
  22. }
  23. }