public User(UserId id, UserName userName, FullName name) { this.id = id; this.userName = userName; this.name = name; }
public User(UserName userName, FullName name) { id = new UserId(Guid.NewGuid().ToString()); this.userName = userName; this.name = name; }