Implentata scansione barcode e lista articoli nel form scheda

This commit is contained in:
2026-02-26 15:46:49 +01:00
parent a5e27bcf06
commit e027d8e5cf
20 changed files with 770 additions and 19 deletions

View File

@@ -0,0 +1,24 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SteUp.Shared.Core.Entities;
public class SchedaArticolo
{
[Key]
public int Id { get; set; }
[Required]
public int SchedaId { get; set; }
[ForeignKey(nameof(SchedaId))]
public Scheda Scheda { get; set; } = null!;
[Required]
[MaxLength(64)]
public string Barcode { get; set; } = string.Empty;
[Required]
[MaxLength(256)]
public string Descrizione { get; set; } = string.Empty;
}