UNPKG

@tomei/rental

Version:
29 lines (28 loc) 1.03 kB
import { ObjectBase } from '@tomei/general'; import { JointHirerRepository } from './joint-hirer.repository'; import { IJointHirerAttr } from '../../interfaces/joint-hirer-attr.interface'; import { LoginUser } from '@tomei/sso'; export declare class JointHirer extends ObjectBase { ObjectId: string; ObjectName: string; ObjectType: string; TableName: string; RentalId: string; CustomerId: string; CustomerType: string; Status: string; CreatedById: string; CreatedAt: Date; UpdatedById: string; UpdatedAt: Date; private _Rental; get HirerId(): string; set HirerId(value: string); protected static _Repository: JointHirerRepository; protected constructor(jointHirerAttr?: IJointHirerAttr); toJSON(): IJointHirerAttr; static init(hirerId?: string, dbTransaction?: any): Promise<JointHirer>; create(loginUser: LoginUser, dbTransaction?: any): Promise<this>; remove(loginUser: LoginUser, dbTransaction?: any): Promise<this>; private getRental; }