PROGRAMMING:Ranking of employees
1. An employee management system is designed for an insurance company, in which the attributes of employee category are: employee number, name, gender, group insurance performance, individual insurance performance; The methods are as follows
Set and get methods corresponding to each attribute;
The construction method without parameters;
The construction method with parameters completes the initialization of employee attributes;
This class implements the interface comparable to compare the total performance of employees.
2. Design a class and implement comparator interface to compare the performance of group insurance;
3. In the main class, create a linear table of employees to sort the linear table of employees in ascending order according to the total performance and group insurance performance.
Note: do not design keyboard to input employee information, you can create employee object directly according to the data provided in the example;
###Input format:
###Output format:
The items are separated by commas
###Input example:
Here is a set of inputs. For example:
```in
```
###Output example:
The corresponding output is given here. For example:
```out
Number, group insurance, individual insurance, name, gender
1500400, employee 1, female
3600300, employee 3, male
2400600, employee 2, female
4800200, employee 4, female
5500700, employee 5, male
Number, group insurance, individual insurance, name, gender
2400600, employee 2, female
1500400, employee 1, female
5500700, employee 5, male
3600300, employee 3, male
4800200, employee 4, female
```
answer:If there is no answer, please comment
Set and get methods corresponding to each attribute;
The construction method without parameters;
The construction method with parameters completes the initialization of employee attributes;
This class implements the interface comparable to compare the total performance of employees.
2. Design a class and implement comparator interface to compare the performance of group insurance;
3. In the main class, create a linear table of employees to sort the linear table of employees in ascending order according to the total performance and group insurance performance.
Note: do not design keyboard to input employee information, you can create employee object directly according to the data provided in the example;
###Input format:
###Output format:
The items are separated by commas
###Input example:
Here is a set of inputs. For example:
```in
```
###Output example:
The corresponding output is given here. For example:
```out
Number, group insurance, individual insurance, name, gender
1500400, employee 1, female
3600300, employee 3, male
2400600, employee 2, female
4800200, employee 4, female
5500700, employee 5, male
Number, group insurance, individual insurance, name, gender
2400600, employee 2, female
1500400, employee 1, female
5500700, employee 5, male
3600300, employee 3, male
4800200, employee 4, female
```
answer:If there is no answer, please comment