public BranchBM(BranchDTO branchDto, AddressBM addressBm) { this.id = branchDto.id; this.name = branchDto.name; this.comment = branchDto.comment; this.address = addressBm; }
public DonorBM(DonorDTO donorDto, AddressBM addressBm = null, OrganizationBM organizationBm = null) : base(donorDto, addressBm) { this.address = addressBm; this.donorId = donorDto.donorId; this.organization = organizationBm; this.canBeContacted = donorDto.canBeContacted; }
public BeneficiaryBM(BeneficiaryDTO beneficiaryDto, AddressBM address = null) : base(beneficiaryDto, address) { this.beneficiaryId = beneficiaryDto.beneficiaryId; this.destination = beneficiaryDto.destination; this.ages = beneficiaryDto.ages; this.health = beneficiaryDto.health; this.accessibility = beneficiaryDto.accessibility; this.majorProblem = beneficiaryDto.majorProblem; this.address = address; }
public PersonBM(string name, string lastName, DateTime birthDate, string email, string phone, char gender, int dni, AddressBM address) { this.name = name; this.lastName = lastName; this.birthdate = birthDate; this.email = email; this.phone = phone; this.gender = gender; this.dni = dni; this.address = address; }
public PersonBM(PersonDTO personDto, AddressBM address) { this.id = personDto.id; this.name = personDto.name; this.lastName = personDto.lastName; this.birthdate = personDto.birthdate; this.email = personDto.email; this.phone = personDto.phone; this.gender = personDto.gender; this.dni = personDto.dni; this.address = address; }
public VolunteerBM(VolunteerDTO volunteerDto, AddressBM addressBm, BranchBM branchBm, UserBM userBm = null) { this.id = volunteerDto.id; this.name = volunteerDto.name; this.lastName = volunteerDto.lastName; this.Birthdate = volunteerDto.birthdate; this.Email = volunteerDto.email; this.phone = volunteerDto.phone; this.gender = volunteerDto.gender; this.dni = volunteerDto.dni; this.address = addressBm; this.volunteerId = volunteerDto.volunteerId; this.branch = branchBm; this.user = userBm; }
public DepotBM(DepotDTO depotDto, AddressBM addressBm = null) { this.id = depotDto.id; this.name = depotDto.name; this.address = addressBm; }