规范代码
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: Kane
 | 
					 * @Author: Kane
 | 
				
			||||||
 * @Date: 2023-02-28 14:48:30
 | 
					 * @Date: 2023-02-28 14:48:30
 | 
				
			||||||
 * @LastEditors: Kane
 | 
					 * @LastEditors: Kane
 | 
				
			||||||
 * @FilePath: /task_schedule/src/data/cpicxim/StuffInfo.ts
 | 
					 * @FilePath: /task_schedule/src/data/cpicxim/StaffInfo.ts
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved.
 | 
					 * Copyright (c) ${2022} by Kane, All Rights Reserved.
 | 
				
			||||||
@@ -12,21 +12,21 @@ class StaffInfo
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    constructor(
 | 
					    constructor(
 | 
				
			||||||
        p13uid: string,
 | 
					        p13uid: string,
 | 
				
			||||||
        staff_code: string,
 | 
					        staffCode: string,
 | 
				
			||||||
        staff_name: string,
 | 
					        staffName: string,
 | 
				
			||||||
        department_code: string,
 | 
					        departmentCode: string,
 | 
				
			||||||
        department_name: string,
 | 
					        departmentName: string,
 | 
				
			||||||
        section_office_code: string,
 | 
					        sectionOfficeCode: string,
 | 
				
			||||||
        section_office_name: string
 | 
					        sectionOfficeName: string
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        this._stuffCode = staff_code;
 | 
					        this._stuffCode = staffCode;
 | 
				
			||||||
        this._stuffName = staff_name;
 | 
					        this._stuffName = staffName;
 | 
				
			||||||
        this._p13uid = p13uid;
 | 
					        this._p13uid = p13uid;
 | 
				
			||||||
        this._department_code = department_code;
 | 
					        this._departmentCode = departmentCode;
 | 
				
			||||||
        this._department_name = department_name;
 | 
					        this._departmentName = departmentName;
 | 
				
			||||||
        this._section_office_code = section_office_code;
 | 
					        this._sectionOfficeCode = sectionOfficeCode;
 | 
				
			||||||
        this._section_office_name = section_office_name;
 | 
					        this._sectionOfficeName = sectionOfficeName;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public get stuffCode(): string
 | 
					    public get stuffCode(): string
 | 
				
			||||||
@@ -34,9 +34,9 @@ class StaffInfo
 | 
				
			|||||||
        return this._stuffCode;
 | 
					        return this._stuffCode;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public set stuffCode(stuff_code: string)
 | 
					    public set stuffCode(stuffCode: string)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        this._stuffCode = stuff_code;
 | 
					        this._stuffCode = stuffCode;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public get stuffName(): string
 | 
					    public get stuffName(): string
 | 
				
			||||||
@@ -44,9 +44,9 @@ class StaffInfo
 | 
				
			|||||||
        return this._stuffName;
 | 
					        return this._stuffName;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public set stuffName(stuff_name: string)
 | 
					    public set stuffName(stuffName: string)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        this._stuffName = stuff_name;
 | 
					        this._stuffName = stuffName;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public get P13UID(): string
 | 
					    public get P13UID(): string
 | 
				
			||||||
@@ -59,34 +59,33 @@ class StaffInfo
 | 
				
			|||||||
        this._p13uid = p13uid;
 | 
					        this._p13uid = p13uid;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public set departmentCode(department_code: string)
 | 
					    public set departmentCode(departmentCode: string)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        this._department_code = department_code;
 | 
					        this._departmentCode = departmentCode;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public get departmentCode()
 | 
					    public get departmentCode(): string
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return this._department_code;
 | 
					        return this._departmentCode;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public set departmentName(department_name: string)
 | 
					    public set departmentName(departmentName: string)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        this._department_name = department_name;
 | 
					        this._departmentName = departmentName;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public get departmentName()
 | 
					    public get departmentName(): string
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return this._department_name;
 | 
					        return this._departmentName;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private _stuffCode: string;
 | 
					    private _stuffCode: string;
 | 
				
			||||||
    private _stuffName: string;
 | 
					    private _stuffName: string;
 | 
				
			||||||
    private _p13uid: string;
 | 
					    private _p13uid: string;
 | 
				
			||||||
    private _department_code: string;
 | 
					    private _departmentCode: string;
 | 
				
			||||||
    private _department_name: string;
 | 
					    private _departmentName: string;
 | 
				
			||||||
    private _section_office_code: string;
 | 
					    private readonly _sectionOfficeCode: string;
 | 
				
			||||||
    private _section_office_name: string;
 | 
					    private readonly _sectionOfficeName: string;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export { StaffInfo };
 | 
					export { StaffInfo };
 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user