@platform-modules/civil-aviation-authority 2.3.133 → 2.3.134

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/dist/index.d.ts CHANGED
@@ -202,6 +202,9 @@ export { JobTransferRequestStatus } from './models/JobTransferRequestModel';
202
202
  export * from './models/NewResourceRequestModel';
203
203
  export { NewResourceRequestStatus } from './models/NewResourceRequestModel';
204
204
  export * from './models/CountryMasterModel';
205
+ export * from './models/CAIRatingMasterModel';
206
+ export * from './models/CSRMLikelihoodMasterModel';
207
+ export * from './models/CSRMBusinessImpactRatingMasterModel';
205
208
  export * from './models/CityMasterModel';
206
209
  export * from './models/LocationModel';
207
210
  export * from './models/FinancialGradeModel';
package/dist/index.js CHANGED
@@ -314,6 +314,9 @@ var NewResourceRequestModel_1 = require("./models/NewResourceRequestModel");
314
314
  Object.defineProperty(exports, "NewResourceRequestStatus", { enumerable: true, get: function () { return NewResourceRequestModel_1.NewResourceRequestStatus; } });
315
315
  // Country Master
316
316
  __exportStar(require("./models/CountryMasterModel"), exports);
317
+ __exportStar(require("./models/CAIRatingMasterModel"), exports);
318
+ __exportStar(require("./models/CSRMLikelihoodMasterModel"), exports);
319
+ __exportStar(require("./models/CSRMBusinessImpactRatingMasterModel"), exports);
317
320
  // City Master
318
321
  __exportStar(require("./models/CityMasterModel"), exports);
319
322
  // Location Master
@@ -2,7 +2,9 @@ import { BaseModel } from './BaseModel';
2
2
  export declare class CAAServices extends BaseModel {
3
3
  code: string;
4
4
  name: string;
5
+ arabic_name: string | null;
5
6
  description: string;
7
+ arabic_description: string | null;
6
8
  logo_url: string;
7
- constructor(name: string, description: string, code?: string, logo_url?: string);
9
+ constructor(name: string, description: string, arabic_name?: string | null, arabic_description?: string | null, code?: string, logo_url?: string);
8
10
  }
@@ -13,10 +13,12 @@ exports.CAAServices = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  let CAAServices = class CAAServices extends BaseModel_1.BaseModel {
16
- constructor(name, description, code, logo_url) {
16
+ constructor(name, description, arabic_name, arabic_description, code, logo_url) {
17
17
  super();
18
18
  this.name = name;
19
19
  this.description = description;
20
+ this.arabic_name = arabic_name || null;
21
+ this.arabic_description = arabic_description || null;
20
22
  this.code = code || '';
21
23
  this.logo_url = logo_url || '';
22
24
  }
@@ -30,15 +32,23 @@ __decorate([
30
32
  (0, typeorm_1.Column)({ nullable: false }),
31
33
  __metadata("design:type", String)
32
34
  ], CAAServices.prototype, "name", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ nullable: true }),
37
+ __metadata("design:type", Object)
38
+ ], CAAServices.prototype, "arabic_name", void 0);
33
39
  __decorate([
34
40
  (0, typeorm_1.Column)({ nullable: false }),
35
41
  __metadata("design:type", String)
36
42
  ], CAAServices.prototype, "description", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ nullable: true }),
45
+ __metadata("design:type", Object)
46
+ ], CAAServices.prototype, "arabic_description", void 0);
37
47
  __decorate([
38
48
  (0, typeorm_1.Column)({ nullable: true }),
39
49
  __metadata("design:type", String)
40
50
  ], CAAServices.prototype, "logo_url", void 0);
41
51
  exports.CAAServices = CAAServices = __decorate([
42
52
  (0, typeorm_1.Entity)({ name: 'caa_services' }),
43
- __metadata("design:paramtypes", [String, String, String, String])
53
+ __metadata("design:paramtypes", [String, String, Object, Object, String, String])
44
54
  ], CAAServices);
@@ -3,9 +3,11 @@ import { CAAServices } from './CAAServices';
3
3
  export declare class CAASubServices extends BaseModel {
4
4
  code: string | null;
5
5
  sub_service_name: string;
6
+ arabic_name: string | null;
6
7
  description: string;
8
+ arabic_description: string | null;
7
9
  service_id: number;
8
10
  service: CAAServices;
9
11
  logo_url: string;
10
- constructor(sub_service_name: string, description: string, service_id: number, logo_url: string, code?: string | null);
12
+ constructor(sub_service_name: string, description: string, arabic_name: string | null, arabic_description: string | null, service_id: number, logo_url: string, code?: string | null);
11
13
  }
@@ -14,10 +14,12 @@ const typeorm_1 = require("typeorm");
14
14
  const BaseModel_1 = require("./BaseModel");
15
15
  const CAAServices_1 = require("./CAAServices");
16
16
  let CAASubServices = class CAASubServices extends BaseModel_1.BaseModel {
17
- constructor(sub_service_name, description, service_id, logo_url, code = null) {
17
+ constructor(sub_service_name, description, arabic_name, arabic_description, service_id, logo_url, code = null) {
18
18
  super();
19
19
  this.sub_service_name = sub_service_name;
20
+ this.arabic_name = arabic_name || null;
20
21
  this.description = description;
22
+ this.arabic_description = arabic_description || null;
21
23
  this.service_id = service_id;
22
24
  this.logo_url = logo_url;
23
25
  this.code = code;
@@ -32,10 +34,18 @@ __decorate([
32
34
  (0, typeorm_1.Column)({ nullable: false }),
33
35
  __metadata("design:type", String)
34
36
  ], CAASubServices.prototype, "sub_service_name", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ nullable: true }),
39
+ __metadata("design:type", Object)
40
+ ], CAASubServices.prototype, "arabic_name", void 0);
35
41
  __decorate([
36
42
  (0, typeorm_1.Column)({ nullable: false }),
37
43
  __metadata("design:type", String)
38
44
  ], CAASubServices.prototype, "description", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Column)({ nullable: true }),
47
+ __metadata("design:type", Object)
48
+ ], CAASubServices.prototype, "arabic_description", void 0);
39
49
  __decorate([
40
50
  (0, typeorm_1.Column)({ nullable: true }),
41
51
  __metadata("design:type", Number)
@@ -51,5 +61,5 @@ __decorate([
51
61
  ], CAASubServices.prototype, "logo_url", void 0);
52
62
  exports.CAASubServices = CAASubServices = __decorate([
53
63
  (0, typeorm_1.Entity)({ name: 'caa_sub_services' }),
54
- __metadata("design:paramtypes", [String, String, Number, String, Object])
64
+ __metadata("design:paramtypes", [String, String, Object, Object, Number, String, Object])
55
65
  ], CAASubServices);
@@ -0,0 +1,10 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare class CAIRatingMaster extends BaseModel {
3
+ confidentiality: string;
4
+ integrity: string;
5
+ availability: string;
6
+ rating: string;
7
+ value: string;
8
+ is_active: boolean;
9
+ constructor(confidentiality: string, integrity: string, availability: string, rating: string, value: string);
10
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CAIRatingMaster = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ let CAIRatingMaster = class CAIRatingMaster extends BaseModel_1.BaseModel {
16
+ constructor(confidentiality, integrity, availability, rating, value) {
17
+ super();
18
+ this.confidentiality = confidentiality;
19
+ this.integrity = integrity;
20
+ this.availability = availability;
21
+ this.rating = rating;
22
+ this.value = value;
23
+ this.is_active = true;
24
+ }
25
+ };
26
+ exports.CAIRatingMaster = CAIRatingMaster;
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ type: "text", nullable: false }),
29
+ __metadata("design:type", String)
30
+ ], CAIRatingMaster.prototype, "confidentiality", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: "text", nullable: false }),
33
+ __metadata("design:type", String)
34
+ ], CAIRatingMaster.prototype, "integrity", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ type: "text", nullable: false }),
37
+ __metadata("design:type", String)
38
+ ], CAIRatingMaster.prototype, "availability", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
41
+ __metadata("design:type", String)
42
+ ], CAIRatingMaster.prototype, "rating", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
45
+ __metadata("design:type", String)
46
+ ], CAIRatingMaster.prototype, "value", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ type: "boolean", default: true }),
49
+ __metadata("design:type", Boolean)
50
+ ], CAIRatingMaster.prototype, "is_active", void 0);
51
+ exports.CAIRatingMaster = CAIRatingMaster = __decorate([
52
+ (0, typeorm_1.Entity)({ name: "cai_rating_master" }),
53
+ __metadata("design:paramtypes", [String, String, String, String, String])
54
+ ], CAIRatingMaster);
@@ -0,0 +1,8 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare class CSRMBusinessImpactRatingMaster extends BaseModel {
3
+ guidelines: string;
4
+ rating: string;
5
+ value: string;
6
+ is_active: boolean;
7
+ constructor(guidelines: string, rating: string, value: string);
8
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CSRMBusinessImpactRatingMaster = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ let CSRMBusinessImpactRatingMaster = class CSRMBusinessImpactRatingMaster extends BaseModel_1.BaseModel {
16
+ constructor(guidelines, rating, value) {
17
+ super();
18
+ this.guidelines = guidelines;
19
+ this.rating = rating;
20
+ this.value = value;
21
+ this.is_active = true;
22
+ }
23
+ };
24
+ exports.CSRMBusinessImpactRatingMaster = CSRMBusinessImpactRatingMaster;
25
+ __decorate([
26
+ (0, typeorm_1.Column)({ type: "text", nullable: false }),
27
+ __metadata("design:type", String)
28
+ ], CSRMBusinessImpactRatingMaster.prototype, "guidelines", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
31
+ __metadata("design:type", String)
32
+ ], CSRMBusinessImpactRatingMaster.prototype, "rating", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
35
+ __metadata("design:type", String)
36
+ ], CSRMBusinessImpactRatingMaster.prototype, "value", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ type: "boolean", default: true }),
39
+ __metadata("design:type", Boolean)
40
+ ], CSRMBusinessImpactRatingMaster.prototype, "is_active", void 0);
41
+ exports.CSRMBusinessImpactRatingMaster = CSRMBusinessImpactRatingMaster = __decorate([
42
+ (0, typeorm_1.Entity)({ name: "csrm_business_impact_rating_master" }),
43
+ __metadata("design:paramtypes", [String, String, String])
44
+ ], CSRMBusinessImpactRatingMaster);
@@ -0,0 +1,8 @@
1
+ import { BaseModel } from "./BaseModel";
2
+ export declare class CSRMLikelihoodMaster extends BaseModel {
3
+ guidelines: string;
4
+ rating: string;
5
+ value: string;
6
+ is_active: boolean;
7
+ constructor(guidelines: string, rating: string, value: string);
8
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CSRMLikelihoodMaster = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const BaseModel_1 = require("./BaseModel");
15
+ let CSRMLikelihoodMaster = class CSRMLikelihoodMaster extends BaseModel_1.BaseModel {
16
+ constructor(guidelines, rating, value) {
17
+ super();
18
+ this.guidelines = guidelines;
19
+ this.rating = rating;
20
+ this.value = value;
21
+ this.is_active = true;
22
+ }
23
+ };
24
+ exports.CSRMLikelihoodMaster = CSRMLikelihoodMaster;
25
+ __decorate([
26
+ (0, typeorm_1.Column)({ type: "text", nullable: false }),
27
+ __metadata("design:type", String)
28
+ ], CSRMLikelihoodMaster.prototype, "guidelines", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
31
+ __metadata("design:type", String)
32
+ ], CSRMLikelihoodMaster.prototype, "rating", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
35
+ __metadata("design:type", String)
36
+ ], CSRMLikelihoodMaster.prototype, "value", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ type: "boolean", default: true }),
39
+ __metadata("design:type", Boolean)
40
+ ], CSRMLikelihoodMaster.prototype, "is_active", void 0);
41
+ exports.CSRMLikelihoodMaster = CSRMLikelihoodMaster = __decorate([
42
+ (0, typeorm_1.Entity)({ name: "csrm_likelihood_master" }),
43
+ __metadata("design:paramtypes", [String, String, String])
44
+ ], CSRMLikelihoodMaster);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.3.133",
3
+ "version": "2.3.134",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
package/src/index.ts CHANGED
@@ -217,11 +217,14 @@ export {JobTransferRequestStatus} from './models/JobTransferRequestModel';
217
217
  export * from './models/NewResourceRequestModel';
218
218
  export {NewResourceRequestStatus} from './models/NewResourceRequestModel';
219
219
 
220
- // Country Master
221
- export * from './models/CountryMasterModel';
222
-
223
- // City Master
224
- export * from './models/CityMasterModel';
220
+ // Country Master
221
+ export * from './models/CountryMasterModel';
222
+ export * from './models/CAIRatingMasterModel';
223
+ export * from './models/CSRMLikelihoodMasterModel';
224
+ export * from './models/CSRMBusinessImpactRatingMasterModel';
225
+
226
+ // City Master
227
+ export * from './models/CityMasterModel';
225
228
 
226
229
  // Location Master
227
230
  export * from './models/LocationModel';
@@ -8,26 +8,36 @@ export class CAAServices extends BaseModel {
8
8
  @Column({ type: 'varchar', length: 64, nullable: false, unique: true })
9
9
  code: string;
10
10
 
11
- @Column({ nullable: false })
12
- name: string;
13
-
14
- @Column({ nullable: false })
15
- description: string;
16
-
17
- @Column({ nullable: true })
18
- logo_url: string;
19
-
20
-
21
- constructor(
22
- name: string,
23
- description: string,
24
- code?: string,
25
- logo_url?: string
26
- ) {
27
- super();
28
- this.name = name;
29
- this.description = description;
30
- this.code = code || '';
31
- this.logo_url = logo_url || '';
32
- }
33
- }
11
+ @Column({ nullable: false })
12
+ name: string;
13
+
14
+ @Column({ nullable: true })
15
+ arabic_name: string | null;
16
+
17
+ @Column({ nullable: false })
18
+ description: string;
19
+
20
+ @Column({ nullable: true })
21
+ arabic_description: string | null;
22
+
23
+ @Column({ nullable: true })
24
+ logo_url: string;
25
+
26
+
27
+ constructor(
28
+ name: string,
29
+ description: string,
30
+ arabic_name?: string | null,
31
+ arabic_description?: string | null,
32
+ code?: string,
33
+ logo_url?: string
34
+ ) {
35
+ super();
36
+ this.name = name;
37
+ this.description = description;
38
+ this.arabic_name = arabic_name || null;
39
+ this.arabic_description = arabic_description || null;
40
+ this.code = code || '';
41
+ this.logo_url = logo_url || '';
42
+ }
43
+ }
@@ -9,14 +9,20 @@ export class CAASubServices extends BaseModel {
9
9
  @Column({ type: 'varchar', length: 64, nullable: true, unique: true })
10
10
  code: string | null;
11
11
 
12
- @Column({ nullable: false })
13
- sub_service_name: string;
14
-
15
- @Column({ nullable: false })
16
- description: string;
17
-
18
- @Column({ nullable: true })
19
- service_id: number;
12
+ @Column({ nullable: false })
13
+ sub_service_name: string;
14
+
15
+ @Column({ nullable: true })
16
+ arabic_name: string | null;
17
+
18
+ @Column({ nullable: false })
19
+ description: string;
20
+
21
+ @Column({ nullable: true })
22
+ arabic_description: string | null;
23
+
24
+ @Column({ nullable: true })
25
+ service_id: number;
20
26
 
21
27
  @ManyToOne(() => CAAServices)
22
28
  @JoinColumn({ name: 'service_id' })
@@ -25,18 +31,22 @@ export class CAASubServices extends BaseModel {
25
31
  @Column({ nullable: true })
26
32
  logo_url: string;
27
33
 
28
- constructor(
29
- sub_service_name: string,
30
- description: string,
31
- service_id: number,
32
- logo_url: string,
33
- code: string | null = null
34
- ) {
35
- super();
36
- this.sub_service_name = sub_service_name
37
- this.description = description
38
- this.service_id = service_id
39
- this.logo_url = logo_url
40
- this.code = code
41
- }
42
- }
34
+ constructor(
35
+ sub_service_name: string,
36
+ description: string,
37
+ arabic_name: string | null,
38
+ arabic_description: string | null,
39
+ service_id: number,
40
+ logo_url: string,
41
+ code: string | null = null
42
+ ) {
43
+ super();
44
+ this.sub_service_name = sub_service_name
45
+ this.arabic_name = arabic_name || null;
46
+ this.description = description
47
+ this.arabic_description = arabic_description || null;
48
+ this.service_id = service_id
49
+ this.logo_url = logo_url
50
+ this.code = code
51
+ }
52
+ }
@@ -0,0 +1,39 @@
1
+ import { Column, Entity } from "typeorm";
2
+ import { BaseModel } from "./BaseModel";
3
+
4
+ @Entity({ name: "cai_rating_master" })
5
+ export class CAIRatingMaster extends BaseModel {
6
+ @Column({ type: "text", nullable: false })
7
+ confidentiality: string;
8
+
9
+ @Column({ type: "text", nullable: false })
10
+ integrity: string;
11
+
12
+ @Column({ type: "text", nullable: false })
13
+ availability: string;
14
+
15
+ @Column({ type: "varchar", length: 100, nullable: false })
16
+ rating: string;
17
+
18
+ @Column({ type: "varchar", length: 100, nullable: false })
19
+ value: string;
20
+
21
+ @Column({ type: "boolean", default: true })
22
+ is_active: boolean;
23
+
24
+ constructor(
25
+ confidentiality: string,
26
+ integrity: string,
27
+ availability: string,
28
+ rating: string,
29
+ value: string
30
+ ) {
31
+ super();
32
+ this.confidentiality = confidentiality;
33
+ this.integrity = integrity;
34
+ this.availability = availability;
35
+ this.rating = rating;
36
+ this.value = value;
37
+ this.is_active = true;
38
+ }
39
+ }
@@ -0,0 +1,25 @@
1
+ import { Column, Entity } from "typeorm";
2
+ import { BaseModel } from "./BaseModel";
3
+
4
+ @Entity({ name: "csrm_business_impact_rating_master" })
5
+ export class CSRMBusinessImpactRatingMaster extends BaseModel {
6
+ @Column({ type: "text", nullable: false })
7
+ guidelines: string;
8
+
9
+ @Column({ type: "varchar", length: 100, nullable: false })
10
+ rating: string;
11
+
12
+ @Column({ type: "varchar", length: 100, nullable: false })
13
+ value: string;
14
+
15
+ @Column({ type: "boolean", default: true })
16
+ is_active: boolean;
17
+
18
+ constructor(guidelines: string, rating: string, value: string) {
19
+ super();
20
+ this.guidelines = guidelines;
21
+ this.rating = rating;
22
+ this.value = value;
23
+ this.is_active = true;
24
+ }
25
+ }
@@ -0,0 +1,25 @@
1
+ import { Column, Entity } from "typeorm";
2
+ import { BaseModel } from "./BaseModel";
3
+
4
+ @Entity({ name: "csrm_likelihood_master" })
5
+ export class CSRMLikelihoodMaster extends BaseModel {
6
+ @Column({ type: "text", nullable: false })
7
+ guidelines: string;
8
+
9
+ @Column({ type: "varchar", length: 100, nullable: false })
10
+ rating: string;
11
+
12
+ @Column({ type: "varchar", length: 100, nullable: false })
13
+ value: string;
14
+
15
+ @Column({ type: "boolean", default: true })
16
+ is_active: boolean;
17
+
18
+ constructor(guidelines: string, rating: string, value: string) {
19
+ super();
20
+ this.guidelines = guidelines;
21
+ this.rating = rating;
22
+ this.value = value;
23
+ this.is_active = true;
24
+ }
25
+ }