first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace OpenWarehouse.warehouse.api.Data;
|
||||
|
||||
public class Item
|
||||
{
|
||||
[Key]
|
||||
public Guid? Id { get; set; }
|
||||
[Required, MaxLength(30), MinLength(4)]
|
||||
public string? Name { get; set; }
|
||||
public Image Image { get; set; }
|
||||
[Required]
|
||||
public Producers? Producer { get; set; }
|
||||
[Required]
|
||||
public Guid? ProducerId { get; set; }
|
||||
|
||||
public List<ItemCategoryTag>? ItemCategoryTags { get; set; }
|
||||
|
||||
public List<ItemClaims>? ItemClaims { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user