Implentata scansione barcode e lista articoli nel form scheda
This commit is contained in:
1 parent
a5e27bcf06
commit
e027d8e5cf
20 files changed
+770
-19
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user