net.mamian.mySpringboot.common.BaseObject.java Source code

Java tutorial

Introduction

Here is the source code for net.mamian.mySpringboot.common.BaseObject.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package net.mamian.mySpringboot.common;

import java.io.Serializable;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 
 *
 * @author mamian
 * @mail mamianskyma@aliyun.com
 * @date 2016-8-2 19:51:12
 * @copyright 2016 ? All Rights Reserved
 */
public class BaseObject implements Serializable {

    private static final long serialVersionUID = 20160802L;

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE, false);
    }

}