MachineConfigure.cs 787 B

12345678910111213141516171819202122232425262728293031
  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 EVCB_OCPP.Domain.Models.Database
  9. {
  10. public class MachineConfigure
  11. {
  12. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  13. [Key]
  14. public Int32 Id { set; get; }
  15. [StringLength(25)]
  16. public string ChargePointSerialNumber { get; set; }
  17. /// <summary>
  18. /// 存取限制
  19. /// </summary>
  20. public bool ReadOnly { set; get; }
  21. [StringLength(50)]
  22. public string ConfigureName { set; get; }
  23. [StringLength(500)]
  24. public string ConfigureSetting { set; get; }
  25. }
  26. }