import { IsNotEmpty, IsDate } from "class-validator"; import { OfficeFolder } from "./OfficeFolder"; import { User } from "./User"; export namespace OfficeFolderHasStakeholder { export class IOfficeFolderHasStakeholder { @IsNotEmpty() public uuid!: string; @IsNotEmpty({ groups: ["create"] }) public user_stakeholder!: User.IUser; @IsNotEmpty({ groups: ["create"] }) public office_folder!: OfficeFolder.IOfficeFolder; @IsDate() public created_at: Date | null = null; @IsDate() public updated_at: Date | null = null; } }