| | | 1 | | using System.ComponentModel.DataAnnotations; |
| | | 2 | | using System.ComponentModel.DataAnnotations.Schema; |
| | | 3 | | |
| | | 4 | | namespace LGDXRobotCloud.Data.Entities; |
| | | 5 | | |
| | | 6 | | [Table("Navigation.RobotSystemInfos")] |
| | | 7 | | public class RobotSystemInfo |
| | | 8 | | { |
| | | 9 | | [Key] |
| | | 10 | | [DatabaseGenerated(DatabaseGeneratedOption.Identity)] |
| | 21 | 11 | | public int Id { get; set; } |
| | | 12 | | |
| | | 13 | | [MaxLength(100)] |
| | 42 | 14 | | public string Cpu { get; set; } = null!; |
| | | 15 | | |
| | 22 | 16 | | public bool IsLittleEndian { get; set; } |
| | | 17 | | |
| | | 18 | | [MaxLength(100)] |
| | 42 | 19 | | public string Motherboard { get; set; } = null!; |
| | | 20 | | |
| | | 21 | | [MaxLength(100)] |
| | 42 | 22 | | public string MotherboardSerialNumber { get; set; } = null!; |
| | | 23 | | |
| | 22 | 24 | | public int RamMiB { get; set; } |
| | | 25 | | |
| | | 26 | | [MaxLength(100)] |
| | 22 | 27 | | public string? Gpu { get; set; } |
| | | 28 | | |
| | | 29 | | [MaxLength(100)] |
| | 42 | 30 | | public string Os { get; set; } = null!; |
| | | 31 | | |
| | 22 | 32 | | public bool Is32Bit { get; set; } |
| | | 33 | | |
| | | 34 | | [MaxLength(100)] |
| | 42 | 35 | | public string? McuSerialNumber { get; set; } = null!; |
| | | 36 | | |
| | | 37 | | [ForeignKey("RobotId")] |
| | 20 | 38 | | public Robot Robot { get; set; } = null!; |
| | | 39 | | |
| | 22 | 40 | | public Guid RobotId { get; set; } |
| | | 41 | | } |