Coursework_ComputerStore_Li.../ComputerStoreDataModels/Models/IComponentModel.cs

17 lines
347 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerStoreDataModels.Models
{
public interface IComponentModel : IID
{
[MaxLength(255)]
string Name { get;}
double Price { get;}
}
}