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

cicada.demo.mybatis.model.NewTable Maven / Gradle / Ivy

package cicada.demo.mybatis.model;

import org.hibernate.validator.constraints.NotBlank;

import cicada.elastic.client.Document;

@Document(indexName = "", type = "")
public class NewTable
{
	private Integer id;

	@NotBlank(message = "用户名不能为空")
	private String name;

	private String note;

	public Integer getId()
	{
		return id;
	}

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

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name == null ? null : name.trim();
	}

	public String getNote()
	{
		return note;
	}

	public void setNote(String note)
	{
		this.note = note == null ? null : note.trim();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy