package selling.sunshine.model;

import selling.sunshine.model.lite.Agent;

/**
 * Created by sunshine on 6/1/16.
 */
public class Credit extends Entity {
    private String creditId;
    private String frontPath;
    private String backPath;
    private Agent agent;

    public Credit() {
        super();
    }

    public Credit(String frontPath, String backPath) {
        this();
        this.frontPath = frontPath;
        this.backPath = backPath;
    }

    public Credit(String frontPath, String backPath, Agent agent) {
        this(frontPath, backPath);
        this.agent = agent;
    }

    public String getCreditId() {
        return creditId;
    }

    public void setCreditId(String creditId) {
        this.creditId = creditId;
    }

    public String getFrontPath() {
        return frontPath;
    }

    public void setFrontPath(String frontPath) {
        this.frontPath = frontPath;
    }

    public String getBackPath() {
        return backPath;
    }

    public void setBackPath(String backPath) {
        this.backPath = backPath;
    }

    public Agent getAgent() {
        return agent;
    }

    public void setAgent(Agent agent) {
        this.agent = agent;
    }
}

add model credit