namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_31
{
    class Employee
    {
        public Employee(string firstName, string lastName)
        {
            FirstName = firstName;
            LastName = lastName;
        }

        public Employee(
            int id, string firstName, string lastName)
        {
            Id = id;
            FirstName = firstName;
            LastName = lastName;
        }

        public Employee(int id) => Id = id;

        public int Id
        {
            get => Id;
            private set
            {
                // Wyszukiwanie nazwiska pracownika...
                // ...
            }
        }

        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Salary { get; set; } = "Za niskie";


        // ...
    }
}
