@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.4.2-dev.59",
3
+ "version": "2.4.2-dev.60",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
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
 
@@ -649,6 +649,10 @@ export const fieldDefinitions = {
649
649
  },
650
650
  },
651
651
  },
652
+ employmentInsurance: {
653
+ ...generalDefinitions.object,
654
+ label: "雇用保険",
655
+ },
652
656
  location: {
653
657
  ...generalDefinitions.object,
654
658
  hidden: true,