mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-08-11 11:42:03 +00:00
added required keywords to align with new standards
This commit is contained in:
@@ -12,11 +12,11 @@ public class BarkContext(DbContextOptions<BarkContext> options) : DbContext(opti
|
|||||||
public class InventoryItems
|
public class InventoryItems
|
||||||
{
|
{
|
||||||
public int Id {get; set;}
|
public int Id {get; set;}
|
||||||
public string Barcode {get; set;}
|
public required string Barcode {get; set;}
|
||||||
public string Name { get; set; }
|
public required string Name { get; set; }
|
||||||
public string Brand { get; set; }
|
public required string Brand { get; set; }
|
||||||
public string? SerialNumber { get; set; }
|
public string? SerialNumber { get; set; }
|
||||||
public ItemStatus Status { get; set; }
|
public required ItemStatus Status { get; set; }
|
||||||
public string? StatusId { get; set; }
|
public string? StatusId { get; set; }
|
||||||
public float? Weight { get; set; }
|
public float? Weight { get; set; }
|
||||||
public float? RentalPrice { get; set; }
|
public float? RentalPrice { get; set; }
|
||||||
@@ -26,8 +26,8 @@ public class InventoryItems
|
|||||||
|
|
||||||
public class ItemStatus
|
public class ItemStatus
|
||||||
{
|
{
|
||||||
public string Id { get; set; }
|
public required string Id { get; set; }
|
||||||
public string Name { get; set; }
|
public required string Name { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Customers
|
public class Customers
|
||||||
|
|||||||
Reference in New Issue
Block a user