27 lines
688 B
C#
27 lines
688 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectAirline.Entities;
|
|
|
|
public class PreparatoryWorkPlane
|
|
{
|
|
public int Id { get; private set; }
|
|
public int PreparatoryWorkId { get; private set; }
|
|
public int PlaneId { get; private set; }
|
|
public int Count { get; private set; }
|
|
|
|
public static PreparatoryWorkPlane CreateElement(int id, int preparatoryWorkId, int planeId, int count)
|
|
{
|
|
return new PreparatoryWorkPlane
|
|
{
|
|
Id = id,
|
|
PreparatoryWorkId = preparatoryWorkId,
|
|
PlaneId = planeId,
|
|
Count = count
|
|
};
|
|
}
|
|
}
|