m
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
import { BaseModel } from './_base_model';
|
||||
import { UserModel } from './user.model';
|
||||
import { FinancialProductModel } from './financial_product.model';
|
||||
export declare enum HoldingSource {
|
||||
Purchase = 1,
|
||||
Gift = 2
|
||||
}
|
||||
export declare enum HoldingStatus {
|
||||
Unpaid = 0,
|
||||
Earning = 1,
|
||||
Matured = 2
|
||||
}
|
||||
export declare class UserFinancialProductModel extends BaseModel {
|
||||
userId: number;
|
||||
financialProductId: number;
|
||||
name: string;
|
||||
period: number;
|
||||
principal: string;
|
||||
yieldRate: string;
|
||||
source: HoldingSource;
|
||||
status: HoldingStatus;
|
||||
expireTime: number;
|
||||
user?: UserModel;
|
||||
financialProduct?: FinancialProductModel;
|
||||
}
|
||||
Reference in New Issue
Block a user