Adding point works

This commit is contained in:
retr0volkov
2025-06-30 20:13:36 +03:00 Unverified
parent e5f8982c44
commit 7beee75d14
39 changed files with 4138 additions and 38 deletions
+18
View File
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GazpromApp.Models;
public class Image
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[Required]
public byte[] Bytes { get; set; } = [];
// EF stuff
public List<Point> Points { get; set; } = [];
public List<Equipment> Equipment { get; set; } = [];
}