@shisyamo4131/air-guard-v2-schemas 2.4.2-dev.69 → 2.4.2-dev.70

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.69",
3
+ "version": "2.4.2-dev.70",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/Employee.js CHANGED
@@ -54,6 +54,8 @@ import Insurance from "./Insurance.js";
54
54
  * @property {string} emergencyContactPhone - 緊急連絡先電話番号
55
55
  * @property {string} domicile - 本籍地
56
56
  * @property {Array<Certification>} securityCertifications - 警備員資格情報の配列
57
+ * @property {Insurance} healthInsurance - 健康保険情報
58
+ * @property {Insurance} pensionInsurance - 厚生年金保険情報
57
59
  * @property {Insurance} employmentInsurance - 雇用保険情報
58
60
  * @property {string} remarks - 備考
59
61
  *
@@ -541,6 +543,14 @@ export default class Employee extends GeocodableMixin(FireModel) {
541
543
  }),
542
544
 
543
545
  // 加入保険
546
+ healthInsurance: defField("healthInsurance", {
547
+ default: () => new Insurance(),
548
+ customClass: Insurance,
549
+ }),
550
+ pensionInsurance: defField("pensionInsurance", {
551
+ default: () => new Insurance(),
552
+ customClass: Insurance,
553
+ }),
544
554
  employmentInsurance: defField("employmentInsurance", {
545
555
  default: () => new Insurance(),
546
556
  customClass: Insurance,
@@ -23,6 +23,14 @@ export const objectFields = {
23
23
  ...generalDefinitions.object,
24
24
  label: "雇用保険",
25
25
  },
26
+ healthInsurance: {
27
+ ...generalDefinitions.object,
28
+ label: "健康保険",
29
+ },
30
+ pensionInsurance: {
31
+ ...generalDefinitions.object,
32
+ label: "厚生年金保険",
33
+ },
26
34
  location: {
27
35
  ...generalDefinitions.object,
28
36
  hidden: true,