
com.easycode8.datasource.dynamic.sample.model.Account Maven / Gradle / Ivy
package com.easycode8.datasource.dynamic.sample.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
@TableName("account")
public class Account {
@TableId(type = IdType.AUTO)
private Long id;
private String name;
private String username;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
@Override
public String toString() {
return "Account{" +
"id=" + id +
", name='" + name + '\'' +
", username='" + username + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy