package pviscaino.com.client.web.model;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;
import pviscaino.com.admin.entity.User;
import pviscaino.com.client.entity.Ciclo;
import pviscaino.com.client.entity.Client;
import pviscaino.com.core.entity.Address;

import java.util.Date;
import java.util.List;

/**
 * Created by eduardo on 12/9/2016.
 */
public class ClientPicture {

    private Client client;
    private MultipartFile pictureFile;


    public ClientPicture() {
        this.client = new Client();
    }

    public Client getClient() {
        return client;
    }

    public void setClient(Client client) {
        this.client = client;
    }

    public MultipartFile getPictureFile() {
        return pictureFile;
    }

    public void setPictureFile(MultipartFile pictureFile) {
        this.pictureFile = pictureFile;
    }

    public String getCedula() {
        return client.getCedula();
    }

    public void setCedula(String cedula) {
        this.client.setCedula(cedula);
    }

    public String getName() {
        return this.client.getName();
    }

    public void setName(String name) {
        this.client.setName(name);
    }

    public String getSurname() {
        return this.client.getSurname();
    }

    public void setSurname(String surname) {
        this.client.setSurname(surname);
    }

    public float getValue() {
        return this.client.getValue();
    }

    public void setValue(float value) {
        this.client.setValue(value);
    }

    public float getMora() {
        return this.client.getMora();
    }

    public void setMora(float mora) {
        this.client.setMora(mora);
    }


    public Date getDateAssignation() {
        return this.client.getDateAssignation();
    }

    public boolean isStatus() {
        return this.client.isStatus();
    }

    public void setStatus(boolean status) {
        this.client.setStatus(status);
    }

    public void setDateAssignation(Date dateAssignation) {
        this.client.setDateAssignation(dateAssignation);
    }

    public User getUser() {
        return this.client.getUser();
    }

    public void setUser(User user) {
        this.client.setUser(user);
    }

    public Ciclo getCiclo() {
        return this.client.getCiclo();
    }

    public void setCiclo(Ciclo ciclo) {
        this.client.setCiclo(ciclo);
    }

    public List<Address> getAddressList() {
        return this.client.getAddressList();
    }

    public void setAddressList(List<Address> addressList) {
        this.client.setAddressList(addressList);
    }

    @Override
    public String toString() {
        return "ClientPicture{" +
                "client=" + client +
                ", pictureFile=" + pictureFile +
                '}';
    }
}
