You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
636 B
21 lines
636 B
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Microsoft.eShopWeb.PublicApi.CatalogItemEndpoints
|
|
{
|
|
public class UpdateCatalogItemRequest : BaseRequest
|
|
{
|
|
[Range(1, 10000)]
|
|
public int Id { get; set; }
|
|
[Range(1, 10000)]
|
|
public int CatalogBrandId { get; set; }
|
|
[Range(1, 10000)]
|
|
public int CatalogTypeId { get; set; }
|
|
[Required]
|
|
public string Description { get; set; }
|
|
[Required]
|
|
public string Name { get; set; }
|
|
public string PictureUri { get; set; }
|
|
[Range(0.01, 10000)]
|
|
public decimal Price { get; set; }
|
|
}
|
|
}
|
|
|