25 lines
593 B
C#
25 lines
593 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectCompRepair.Entities;
|
|
|
|
public class ServicesOrder
|
|
{
|
|
public int ServiceId { get; private set; }
|
|
|
|
public int OrderId { get; private set; }
|
|
|
|
|
|
|
|
public string ServiceName { get; private set; } = string.Empty;
|
|
public int Count { get; private set; }
|
|
|
|
public static ServicesOrder CreateElement(int serviceId, int orderId, int count)
|
|
{
|
|
return new ServicesOrder { ServiceId = serviceId, OrderId = orderId, Count = count };
|
|
}
|
|
}
|