Removed dialogs for editing equipment and points, and their related resources
This commit is contained in:
+6
-4
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
@@ -9,16 +10,17 @@ public class Image
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[JsonIgnore]
|
||||
public int Id { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
|
||||
[Required]
|
||||
public byte[] Bytes { get; set; } = [];
|
||||
public DateTime CreationDate { get; set; }
|
||||
|
||||
// Foreign keys
|
||||
[JsonIgnore]
|
||||
public int? PointId { get; set; }
|
||||
public Guid? PointId { get; set; }
|
||||
[JsonIgnore]
|
||||
public int? EquipmentId { get; set; }
|
||||
public Guid? EquipmentId { get; set; }
|
||||
|
||||
// Navigation Properties
|
||||
[JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user