211026

211026

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123

package com.kh.example.practice7.model.vo; public class Employee { //필드부 접근제한자 private으로 선언 private int empNo; private String empName; private String dept; private String job; private int age; private char gender; private int salary; private double bonusPoint; private String phone; private String address; //기본생성자 public Employee() { } //매개변수로 받을 생성자 public Employee( int empNo, String empName, String dept, String job, int age, char gender, int salary, double bonusPoint, String phone, String address) { super (); this .empNo = empNo; this .empName = empName; this .dept = dept; this .job = job; this .age = age; this .gender = gender; this .salary = salary; this .bonusPoint = bonusPoint; this .phone = phone; this .address = address; } // getter()/setter() public int getEmpNo() { return empNo; } public void setEmpNo( int empNo) { this .empNo = empNo; } public String getEmpName() { return empName; } public void setEmpName( String empName) { this .empName = empName; } public void setDept( String dept) { this .dept = dept; } public String getDept() { return dept; } public String getJob() { return job; } public void setJob( String job) { this .job = job; } public int getAge() { return age; } public void setAge( int age) { this .age = age; } public char getGender() { return gender; } public void setGender( char gender) { this .gender = gender; } public int getSalary() { return salary; } public void setSalary( int salary) { this .salary = salary; } public double getBonusPoint() { return bonusPoint; } public void setBonusPoint( double bonusPoint) { this .bonusPoint = bonusPoint; } public String getPhone() { return phone; } public void setPhone( String phone) { this .phone = phone; } public String getAddress() { return address; } public void setAddress( String address) { this .address = address; } } Colored by Color Scripter

from http://jjorong-e.tistory.com/38 by ccl(A) rewrite - 2021-10-26 20:27:44