2023-04-06 19:49:28 +04:00
|
|
|
|
using FurnitureFactoryDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2023-04-07 16:40:24 +04:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-04-06 19:49:28 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureDataBaseImplement.Models
|
|
|
|
|
{
|
|
|
|
|
public class Material : IMaterialModel
|
|
|
|
|
{
|
2023-04-07 16:40:24 +04:00
|
|
|
|
[Required]
|
2023-04-06 19:49:28 +04:00
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2023-04-07 16:40:24 +04:00
|
|
|
|
[Required]
|
2023-04-06 19:49:28 +04:00
|
|
|
|
public int Cost { get; set; }
|
2023-04-07 16:40:24 +04:00
|
|
|
|
[Required]
|
2023-04-06 19:49:28 +04:00
|
|
|
|
public int UserID { get; set; }
|
2023-04-07 16:40:24 +04:00
|
|
|
|
[Required]
|
2023-04-06 19:49:28 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|