18 lines
365 B
C#
Raw Normal View History

2024-11-13 23:20:06 +04:00
namespace GasStation.Entities;
public class Supplier
{
public int Id { get; private set; }
public string SupplierName { get; private set; } = string.Empty;
2024-11-13 23:20:06 +04:00
public static Supplier CreateSupplier(int id, string supplierName)
2024-11-13 23:20:06 +04:00
{
return new Supplier
{
Id = id,
SupplierName = supplierName
2024-11-13 23:20:06 +04:00
};
}
}