CourseWork_FurnitureFactory/FurnitureFactory/FurnitureDataBaseImplement/Models/Material.cs
2023-04-07 16:40:24 +04:00

23 lines
556 B
C#

using FurnitureFactoryDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureDataBaseImplement.Models
{
public class Material : IMaterialModel
{
[Required]
public string Name { get; set; } = string.Empty;
[Required]
public int Cost { get; set; }
[Required]
public int UserID { get; set; }
[Required]
public int Id { get; set; }
}
}