@shisyamo4131/air-guard-v2-schemas 2.4.2-dev.59 → 2.4.2-dev.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Employee.js +7 -0
- package/src/parts/fieldDefinitions.js +4 -0
package/package.json
CHANGED
package/src/Employee.js
CHANGED
|
@@ -10,6 +10,7 @@ import { VALUES as EMERGENCY_CONTACT_RELATION_VALUES } from "./constants/emergen
|
|
|
10
10
|
import Certification from "./Certification.js";
|
|
11
11
|
import { GeocodableMixin } from "./mixins/GeocodableMixin.js";
|
|
12
12
|
import { VALIDATION_ERRORS } from "./errorDefinitions.js";
|
|
13
|
+
import Insurance from "./Insurance.js";
|
|
13
14
|
|
|
14
15
|
/*****************************************************************************
|
|
15
16
|
* @class Employee
|
|
@@ -53,6 +54,7 @@ import { VALIDATION_ERRORS } from "./errorDefinitions.js";
|
|
|
53
54
|
* @property {string} emergencyContactPhone - 緊急連絡先電話番号
|
|
54
55
|
* @property {string} domicile - 本籍地
|
|
55
56
|
* @property {Array<Certification>} securityCertifications - 警備員資格情報の配列
|
|
57
|
+
* @property {Insurance} employmentInsurance - 雇用保険情報
|
|
56
58
|
* @property {string} remarks - 備考
|
|
57
59
|
*
|
|
58
60
|
* @property {string} fullName - 姓と名を結合したフルネーム(読み取り専用)
|
|
@@ -537,6 +539,11 @@ export default class Employee extends GeocodableMixin(FireModel) {
|
|
|
537
539
|
label: "保有資格",
|
|
538
540
|
customClass: Certification,
|
|
539
541
|
}),
|
|
542
|
+
|
|
543
|
+
// 加入保険
|
|
544
|
+
employmentInsurance: defField("employmentInsurance", {
|
|
545
|
+
customClass: Insurance,
|
|
546
|
+
}),
|
|
540
547
|
remarks: defField("remarks"),
|
|
541
548
|
};
|
|
542
549
|
|