27 lines
638 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShoeStore.Entities;
public class Employee
{
public int Id { get; private set; }
public DateTime Date { get; private set; }
public int NumberStorage { get; private set; }
public int StorageSize { get; private set; }
public Employee CreateEntity(int id, int numberStorage, int storageSize)
{
return new Employee
{
Id = id,
Date = DateTime.Now,
NumberStorage = numberStorage,
StorageSize = storageSize
};
}
}