/MvcApplicationAPI/Models/Product.cs
C# | 17 lines | 16 code | 1 blank | 0 comment | 0 complexity | 1aeb1847481330696f64959598aafdb5 MD5 | raw file
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Web;
- namespace MvcApplicationAPI.Models
- {
- public class Product
- {
- [Key]
- public int Id { get; set; }
- public string Name { get; set; }
- public string Category { get; set; }
- public decimal Price { get; set; }
- }
- }