| | 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)] |
| 0 | 11 | | public int Id { get; set; } |
| | 12 | |
|
| | 13 | | [MaxLength(100)] |
| 0 | 14 | | public string Cpu { get; set; } = null!; |
| | 15 | |
|
| 0 | 16 | | public bool IsLittleEndian { get; set; } |
| | 17 | |
|
| | 18 | | [MaxLength(100)] |
| 0 | 19 | | public string Motherboard { get; set; } = null!; |
| | 20 | |
|
| | 21 | | [MaxLength(100)] |
| 0 | 22 | | public string MotherboardSerialNumber { get; set; } = null!; |
| | 23 | |
|
| 0 | 24 | | public int RamMiB { get; set; } |
| | 25 | |
|
| | 26 | | [MaxLength(100)] |
| 0 | 27 | | public string? Gpu { get; set; } |
| | 28 | |
|
| | 29 | | [MaxLength(100)] |
| 0 | 30 | | public string Os { get; set; } = null!; |
| | 31 | |
|
| 0 | 32 | | public bool Is32Bit { get; set; } |
| | 33 | |
|
| | 34 | | [MaxLength(100)] |
| 0 | 35 | | public string? McuSerialNumber { get; set; } = null!; |
| | 36 | |
|
| | 37 | | [ForeignKey("RobotId")] |
| 0 | 38 | | public Robot Robot { get; set; } = null!; |
| | 39 | |
|
| 0 | 40 | | public Guid RobotId { get; set; } |
| | 41 | | } |