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

17 lines
347 B
C#
Raw Normal View History

2023-04-05 18:59:50 +04:00
using System;
using System.Collections.Generic;
2023-04-09 03:17:58 +04:00
using System.ComponentModel.DataAnnotations;
2023-04-05 18:59:50 +04:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerStoreDataModels.Models
{
public interface IComponentModel : IID
2023-04-05 18:59:50 +04:00
{
2023-04-09 03:17:58 +04:00
[MaxLength(255)]
string Name { get;}
double Price { get;}
2023-04-05 18:59:50 +04:00
}
}