Files
2026-04-21 22:34:39 +08:00

71 lines
3.6 KiB
JavaScript

"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserVerifyInfoVo = void 0;
const openapi = require("@nestjs/swagger");
const swagger_1 = require("@nestjs/swagger");
const user_verify_model_1 = require("../../../model/user_verify.model");
class UserVerifyInfoVo {
hasUpload;
isApproved;
status;
realName;
idCardNo;
idCardFront;
idCardBack;
handHoldIdCard;
rejectReason;
static _OPENAPI_METADATA_FACTORY() {
return { hasUpload: { required: true, type: () => Boolean }, isApproved: { required: true, type: () => Boolean }, status: { required: false, enum: require("../../../model/user_verify.model").VerifyAuditStatus }, realName: { required: false, type: () => String }, idCardNo: { required: false, type: () => String }, idCardFront: { required: false, type: () => String }, idCardBack: { required: false, type: () => String }, handHoldIdCard: { required: false, type: () => String }, rejectReason: { required: false, type: () => String } };
}
}
exports.UserVerifyInfoVo = UserVerifyInfoVo;
__decorate([
(0, swagger_1.ApiProperty)({ description: '是否已上传实名信息' }),
__metadata("design:type", Boolean)
], UserVerifyInfoVo.prototype, "hasUpload", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ description: '是否审核通过' }),
__metadata("design:type", Boolean)
], UserVerifyInfoVo.prototype, "isApproved", void 0);
__decorate([
(0, swagger_1.ApiProperty)({
description: '审核状态:0=待审核,1=审核通过,2=审核驳回',
enum: user_verify_model_1.VerifyAuditStatus,
nullable: true,
}),
__metadata("design:type", Number)
], UserVerifyInfoVo.prototype, "status", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ description: '姓名', nullable: true }),
__metadata("design:type", String)
], UserVerifyInfoVo.prototype, "realName", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ description: '身份证号', nullable: true }),
__metadata("design:type", String)
], UserVerifyInfoVo.prototype, "idCardNo", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ description: '身份证正面图片 URL', nullable: true }),
__metadata("design:type", String)
], UserVerifyInfoVo.prototype, "idCardFront", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ description: '身份证反面图片 URL', nullable: true }),
__metadata("design:type", String)
], UserVerifyInfoVo.prototype, "idCardBack", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ description: '手持身份证图片 URL', nullable: true }),
__metadata("design:type", String)
], UserVerifyInfoVo.prototype, "handHoldIdCard", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ description: '驳回原因', nullable: true }),
__metadata("design:type", String)
], UserVerifyInfoVo.prototype, "rejectReason", void 0);
//# sourceMappingURL=user_verify.vo.js.map