首页 > 其他分享 >Student

Student

时间:2023-03-05 14:57:08浏览次数:42  
标签:stuname stusex String Student stuid public

package com.st.entity;

public class Student {
private int stuid;
private String stuname;
private String stusex;

public Student() {
	super();
	// TODO Auto-generated constructor stub
}

public Student(int stuid, String stuname, String stusex) {
	super();
	this.stuid = stuid;
	this.stuname = stuname;
	this.stusex = stusex;
}

public int getStuid() {
	return stuid;
}

public void setStuid(int stuid) {
	this.stuid = stuid;
}

public String getStuname() {
	return stuname;
}

public void setStuname(String stuname) {
	this.stuname = stuname;
}

public String getStusex() {
	return stusex;
}

public void setStusex(String stusex) {
	this.stusex = stusex;
}

@Override
public String toString() {
	return stuid + "\t" + stuname + "\t" + stusex;
}

}

标签:stuname,stusex,String,Student,stuid,public
From: https://www.cnblogs.com/Breeze-lele/p/17180559.html

相关文章

  • StudentDao
    packagecom.st.dao;importjava.sql.Connection;importjava.sql.PreparedStatement;importjava.sql.ResultSet;importjava.sql.SQLException;importjava.util.Ar......
  • Student(含有sql操作封装方法,登录验证)(重要)(常敲敲)
    BaseDao数据库操作工具,直接可以拿来用。记得要继承。那个StudentUserInfo里面没信息。因为StudentInfo包含学号和密码就直接用了packagedao;importjava.sql.*;/**数据库......
  • [ABC268G] Random Student ID 题解
    [ABC268G]RandomStudentIDSolution目录[ABC268G]RandomStudentIDSolution更好的阅读体验戳此进入题面SolutionCodeUPD更好的阅读体验戳此进入题面给定$n$......
  • Azure for Students 使用指北
    准备一个有AzureforStudents的微软账户。AzureforStudents提供了免费一年的两台B1s实例,两块P664G硬盘,本文将介绍如何利用好这些资源并且不会因为Azure毒瘤......
  • 552. Student Attendance Record II
    /***552.StudentAttendanceRecordII*https://leetcode.com/problems/student-attendance-record-ii/*Anattendancerecordforastudentcanberepresent......
  • 551. Student Attendance Record I
    /***551.StudentAttendanceRecordI*Youaregivenastringsrepresentinganattendancerecordforastudentwhereeachcharactersignifieswhetherthe......
  • error Component name "Student" should always be multi-word
      翻译:组件名称“Student”应该是多个单词错误原因:是我们的组件名有一些问题 ,(报错信息翻译过来大概就是组件名“Student”应该总是使用多个单词拼接横线组成的)......
  • 关于报错Caused by: java.lang.NoSuchMethodException: com.zuo.dao.StudentMapper.<i
    源代码报错解决方法注意在ResultMap(结果集映射)中,给type起的别名这里应该是实体类的全限定名为不是Mapper的!!! ......
  • [ABC268G] Random Student ID
    ProblemStatementTakahashiElementarySchoolhas$N$newstudents.For$i=1,2,\ldots,N$,thenameofthe$i$-thnewstudentis$S_i$(whichisastring......
  • student
    packagecom.example.demo.entity; importlombok.Data;importorg.springframework.stereotype.Component;importorg.springframework.boot.context.propertie......