first commit

This commit is contained in:
2025-02-26 23:42:19 +01:00
commit 777ea98be1
283 changed files with 88266 additions and 0 deletions
@@ -0,0 +1,23 @@
namespace OpenWarehouse.warehouse.api.Data;
public class Producers
{
[Key]
public Guid? Id { get; set; }
public Image? Image { get; set; }
[Required, MaxLength(50)]
public string? Name { get; set; }
[Required, MaxLength(60)]
public string? FiestLineAdress { get; set; }
[MaxLength(60)]
public string? SecondLineAdress { get; set; }
[EmailAddress, MaxLength(40)]
public string? Email { get; set; }
[Phone, MaxLength(15)]
public string? Phone { get; set; }
[DeleteBehavior(DeleteBehavior.SetNull)]
public List<Item>? Items { get; set; }
[DeleteBehavior(DeleteBehavior.Cascade)]
public List<ProducerClaims>? Claims { get; set; }
}