public class TricoTextil : DbModelInterface
{
[BsonId]
[BsonRepresentation(BsonType.Int32)]
public int Id { get; set; }
public int OrderId { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public string Size { get; set; }
public int Amount { get; set; }
public string Color { get; set; }
public PrintModel[] Front { get; set; }
public PrintModel[] Back { get; set; }
public PrintModel[] LeftArm { get; set; }
public PrintModel[] RightArm { get; set; }
public TextilPrintModel[] Blueprint { get; set; }
public float Price { get; set; }
public string Comment { get; set; }
public string RowId { get; set; }
public int ItemId { get; set; }
public bool OutOfStock { get; set; }
}
public class TextilPrintModel
{
public string image { get; set; }
public int top { get; set; }
public int left { get; set; }
}
public class StockModel
{
public int Id { get; set; }
public int StockId { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public string ColorCode { get; set; }
public string ColorName { get; set; }
public string ImageFolder { get; set; }
public string Size { get; set; }
public float Price { get; set; }
public int Amount { get; set; }
}
public class LoginModel
{
public string name { get; set; }
public string password { get; set; } // This is the Token
}
public class StockAmount : DbModelInterface
{
[BsonId]
[BsonRepresentation(BsonType.Int32)]
public int Id { get; set; }
public int StockId { get; set; }
public int StockColorId { get; set; }
public int SizeId { get; set; }
public int Amount { get; set; }
}
public class Stock : DbModelInterface
{
[BsonId]
[BsonRepresentation(BsonType.Int32)]
public int Id { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public float Price { get; set; }
public string ImageFolder { get; set; }
}
Authentication -> "Token" key in the Headers
This can be provided separatly
Content type
Image
Digest
sha256:fcd43026f…
Size
558.7 MB
Last updated
almost 3 years ago
docker pull szabozoli/avs-pos-be