v2.116
This commit is contained in:
parent
cc49eea2e6
commit
8e1ed91700
2
dist/Customer/DeedType.d.ts
vendored
2
dist/Customer/DeedType.d.ts
vendored
@ -5,7 +5,7 @@ import DocumentType from "./DocumentType";
|
||||
export default class DeedType extends Resource {
|
||||
uid?: string;
|
||||
name: string;
|
||||
description: string;
|
||||
description?: string | null;
|
||||
archived_at: Date | null;
|
||||
office?: Office;
|
||||
created_at: Date | null;
|
||||
|
3
dist/Customer/DeedType.js
vendored
3
dist/Customer/DeedType.js
vendored
@ -21,6 +21,7 @@ const DocumentType_1 = __importDefault(require("./DocumentType"));
|
||||
class DeedType extends Resource_1.default {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.description = null;
|
||||
this.archived_at = null;
|
||||
this.created_at = null;
|
||||
this.updated_at = null;
|
||||
@ -36,7 +37,7 @@ __decorate([
|
||||
], DeedType.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_transformer_1.Expose)(),
|
||||
__metadata("design:type", String)
|
||||
__metadata("design:type", Object)
|
||||
], DeedType.prototype, "description", void 0);
|
||||
__decorate([
|
||||
(0, class_transformer_1.Expose)(),
|
||||
|
@ -1,6 +1,4 @@
|
||||
import {
|
||||
IsDate,
|
||||
} from "class-validator";
|
||||
import { IsDate } from "class-validator";
|
||||
import Deed from "./Deed";
|
||||
import Office from "./Office";
|
||||
import Resource from "../Resource";
|
||||
@ -15,7 +13,7 @@ export default class DeedType extends Resource {
|
||||
public name!: string;
|
||||
|
||||
@Expose()
|
||||
public description!: string;
|
||||
public description?: string | null = null;
|
||||
|
||||
@Expose()
|
||||
@IsDate()
|
||||
|
Loading…
x
Reference in New Issue
Block a user