예제 #1
0
 public User(UserId id, UserName userName, FullName name)
 {
     this.id       = id;
     this.userName = userName;
     this.name     = name;
 }
예제 #2
0
 public User(UserName userName, FullName name)
 {
     id            = new UserId(Guid.NewGuid().ToString());
     this.userName = userName;
     this.name     = name;
 }