0
Staff:
- name: chris
type: intern
hourlywage: 20
- name: kevin
type: full
level: 9
我要分析此文件陽明海運拿到一個InternStaff
對象和一個FullStaff
對象YML文件。有沒有辦法做到這一點?
class Staff {
String name;
}
class InternStaff extends Staff {
String hourlyWage;
}
Class FullStaff extends Staff {
String level;
}