38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MySQL_Database
|
|
{
|
|
class Student
|
|
{
|
|
public string studentID { get; set; }
|
|
public string fullName { get; set; }
|
|
public int age { get; set; }
|
|
public string gender { get; set; }
|
|
public string address { get; set; }
|
|
public string email { get; set; }
|
|
public int contactNo { get; set; }
|
|
public string studentType { get; set; }
|
|
public int yearLevel { get; set; }
|
|
public string department { get; set; }
|
|
public string program { get; set; }
|
|
|
|
public Student(string studentID, string fullName, int age, string gender, string address, string email, int contactNo, string studentType, int yearLevel, string program)
|
|
{
|
|
this.studentID = studentID;
|
|
this.fullName = fullName;
|
|
this.age = age;
|
|
this.gender = gender;
|
|
this.address = address;
|
|
this.email = email;
|
|
this.contactNo = contactNo;
|
|
this.studentType = studentType;
|
|
this.yearLevel = yearLevel;
|
|
this.program = program;
|
|
}
|
|
}
|
|
}
|