package com.guoan.model;
public class Student {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column student.ID
*
* @mbggenerated
*/
private Long id;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column student.NAME
*
* @mbggenerated
*/
private String name;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column student.C_ID
*
* @mbggenerated
*/
private Long cId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column student.AVAILABLE
*
* @mbggenerated
*/
private Boolean available;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column student.ID
*
* @return the value of student.ID
*
* @mbggenerated
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column student.ID
*
* @param id the value for student.ID
*
* @mbggenerated
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column student.NAME
*
* @return the value of student.NAME
*
* @mbggenerated
*/
public String getName() {
return name;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column student.NAME
*
* @param name the value for student.NAME
*
* @mbggenerated
*/
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column student.C_ID
*
* @return the value of student.C_ID
*
* @mbggenerated
*/
public Long getcId() {
return cId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column student.C_ID
*
* @param cId the value for student.C_ID
*
* @mbggenerated
*/
public void setcId(Long cId) {
this.cId = cId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column student.AVAILABLE
*
* @return the value of student.AVAILABLE
*
* @mbggenerated
*/
public Boolean getAvailable() {
return available;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column student.AVAILABLE
*
* @param available the value for student.AVAILABLE
*
* @mbggenerated
*/
public void setAvailable(Boolean available) {
this.available = available;
}
}