Beispiel #1
0
 public Student(FullName name, DateTime birthday, Id id) : base(name, birthday)
 {
     Id          = id;
     NumberGroup = Id.ToString().Substring(0, 5);
 }
Beispiel #2
0
 protected Person(FullName name, DateTime birthDate)
 {
     Name        = name;
     DateOfBirth = birthDate;
 }
Beispiel #3
0
 public Student(FullName name, DateTime birthday) : base(name, birthday)
 {
     Id = new Id();
 }