Пример #1
0
 public Person(string name, GENDER_TYPE gender, string tel)
     : base()
 {
     Name = name;
     GenderType = gender;
     Tel = tel;
 }
Пример #2
0
 public Employee(string name, GENDER_TYPE gender, string tel, string post, int basicSalary, int commission)
     : base(name, gender, tel)
 {
     Post = post;
     BasicSalary = basicSalary;
     Commission = commission;
 }
Пример #3
0
 public Customer(string name, GENDER_TYPE gender, string tel, string address, int payment)
     : base(name, gender, tel)
 {
     Address = address;
     Payment = payment;
 }