Пример #1
0
 public Living_Creature(Living_Creature l)
 {
     ID          = l.ID;
     Name        = l.Name;
     DateOfBirth = l.DateOfBirth;
     Gender      = l.Gender;
 }
Пример #2
0
 public Person(Living_Creature l,
               string password, string phone, string email, string address) :
     base(l)
 {
     Password = password;
     Phone    = phone;
     Email    = email;
     Address  = address;
 }
Пример #3
0
 public Dog(Living_Creature l, string ownerID, string height, string weight, string color, string breed, string character)
     : base(l)
 {
     OwnerID   = ownerID;
     Height    = height;
     Weight    = weight;
     Color     = color;
     Breed     = breed;
     Character = character;
 }
Пример #4
0
 public Worker(Living_Creature l,
               string password, string phone, string email, string address, string role) :
     base(l, password, phone, email, address)
 {
     Role = role;
 }
Пример #5
0
 public Owner(Living_Creature l,
              string password, string phone, string email, string address) :
     base(l, password, phone, email, address)
 {
     DogsID = null;
 }
Пример #6
0
 public Owner(Living_Creature l,
              string password, string phone, string email, string address, List <string> array) :
     base(l, password, phone, email, address)
 {
     DogsID = array;
 }