25 lines
637 B
C#
25 lines
637 B
C#
|
using ProjectRepairWork.Entities.Enums;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectRepairWork.Entities;
|
|||
|
|
|||
|
public class Contractors
|
|||
|
{
|
|||
|
public int Id { get; private set; }
|
|||
|
public string CompanyName { get; private set; } = string.Empty;
|
|||
|
public string Contacts { get; private set; } = string.Empty;
|
|||
|
public static Contractors CreatEntity(int id, string companyName, string contants)
|
|||
|
{
|
|||
|
return new Contractors
|
|||
|
|
|||
|
{ Id = id,
|
|||
|
CompanyName = companyName,
|
|||
|
Contacts = contants
|
|||
|
};
|
|||
|
}
|
|||
|
}
|