27 lines
651 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; }
2024-12-21 21:15:47 +04:00
public static Employee CreateEntity(int id, DateTime date,int numberStorage, int storageSize)
{
return new Employee
{
Id = id,
2024-12-21 21:15:47 +04:00
Date = date,
NumberStorage = numberStorage,
StorageSize = storageSize
};
}
}