33 lines
765 B
C#
33 lines
765 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Forms
|
|
{
|
|
public class Worker
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public string Surname { get; set; } = string.Empty;
|
|
|
|
public string Phone { get; set; } = string.Empty;
|
|
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
public Worker() { }
|
|
|
|
public Worker(string name, string surname, string phone, string email, string password)
|
|
{
|
|
Name = name;
|
|
Surname = surname;
|
|
Phone = phone;
|
|
Email = email;
|
|
Password = password;
|
|
}
|
|
}
|
|
}
|