23 lines
556 B
C#
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; }
|
|
}
|
|
}
|