All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fastjrun.example.dto.DefaultResponseHead Maven / Gradle / Ivy

There is a newer version: 3.0
Show newest version
/*
 * Copyright (C) 2019 fastjrun, Inc. All Rights Reserved.
 */
package com.fastjrun.example.dto;

import java.io.Serializable;

public class DefaultResponseHead implements Serializable {

    private static final long serialVersionUID = 2492660045919530641L;
    private String code;

    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(("BaseResponseHead" + " ["));
        sb.append("code=").append(this.code);
        sb.append(",message=").append(this.msg);
        sb.append("]");
        return sb.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy