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

io.github.muxiaobai.spring_boot.vo.User Maven / Gradle / Ivy

The newest version!
package io.github.muxiaobai.spring_boot.vo;

import io.github.muxiaobai.spring_boot.util.jdbc.Column;
import org.springframework.data.annotation.Id;

public class User
{
    @Id
    private Integer id;
    @Column
    private String username;
    @Column
    private String password;

    public Integer getId() {
        return id;
    }

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

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy