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

cn.xishan.oftenporter.demo.oftendb.test1.entity.Hello Maven / Gradle / Ivy

package cn.xishan.oftenporter.demo.oftendb.test1.entity;

import cn.xishan.oftenporter.porter.core.annotation.param.Nece;
import com.alibaba.fastjson.JSON;

import java.util.Date;

/**
 * @author Created by https://github.com/CLovinr on 2018/7/1.
 */
public class Hello
{
    private String id;
    @Nece
    private String name;
    private Date createtime;

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

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

    public Date getCreatetime()
    {
        return createtime;
    }

    public void setCreatetime(Date createtime)
    {
        this.createtime = createtime;
    }

    @Override
    public String toString()
    {
        return JSON.toJSONString(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy