2024-11-14 23:56:25 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2024-12-23 17:55:39 +04:00
|
|
|
|
using System.ComponentModel;
|
2024-11-14 23:56:25 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ShoeStore.Entities;
|
|
|
|
|
|
|
|
|
|
public class Employee
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; private set; }
|
2024-12-23 17:55:39 +04:00
|
|
|
|
[DisplayName("Дата")]
|
2024-11-14 23:56:25 +04:00
|
|
|
|
public DateTime Date { get; private set; }
|
2024-12-23 17:55:39 +04:00
|
|
|
|
[DisplayName("Номер склада")]
|
2024-11-14 23:56:25 +04:00
|
|
|
|
public int NumberStorage { get; private set; }
|
2024-12-21 23:23:45 +04:00
|
|
|
|
public static Employee CreateEntity(int id, DateTime date,int numberStorage)
|
2024-11-14 23:56:25 +04:00
|
|
|
|
{
|
|
|
|
|
return new Employee
|
|
|
|
|
{
|
|
|
|
|
Id = id,
|
2024-12-21 21:15:47 +04:00
|
|
|
|
Date = date,
|
2024-12-23 16:41:52 +04:00
|
|
|
|
NumberStorage = numberStorage
|
2024-11-14 23:56:25 +04:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|