using vendorApproverBackend.Enums; using System.ComponentModel.DataAnnotations; namespace vendorApproverBackend.Requests { public class AddProductRequest { [Required] public string Name { get; set; } public string? Code { get; set; } public string? Description { get; set; } public double Price { get; set; } public double Cost { get; set; } public double Quantity { get; set; } public ProductCategory Category { get; set; } public ProductStatus Status { get; set; } public double? Weight { get; set; } public DateTime? ExpiryDate { get; set; } public bool IsFeaturedProduct { get; set; } public bool HasWarranty { get; set; } } }