📅  最后修改于: 2022-03-11 14:47:13.798000             🧑  作者: Mango
class Employee:
pass
john = Employee() # Create an empty employee record
# Fill the fields of the record
john.name = 'John Doe'
john.dept = 'computer lab'
john.salary = 1000