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
|
|
|
|
|
{
|
2023-04-05 19:02:12 +04:00
|
|
|
|
public interface IComponentModel : IID
|
2023-04-05 18:59:50 +04:00
|
|
|
|
{
|
2023-04-09 03:17:58 +04:00
|
|
|
|
[MaxLength(255)]
|
2023-04-05 19:02:12 +04:00
|
|
|
|
string Name { get;}
|
|
|
|
|
double Price { get;}
|
2023-04-05 18:59:50 +04:00
|
|
|
|
}
|
|
|
|
|
}
|