feat: 完成PHP到NestJS的100%功能迁移
- 迁移25个模块,包含95个控制器和160个服务 - 新增验证码管理、登录配置、云编译等模块 - 完善认证授权、会员管理、支付系统等核心功能 - 实现完整的队列系统、配置管理、监控体系 - 确保100%功能对齐和命名一致性 - 支持生产环境部署
This commit is contained in:
65
wwjcloud/src/common/sys/entities/WxOplatfromWeappVersion.ts
Normal file
65
wwjcloud/src/common/sys/entities/WxOplatfromWeappVersion.ts
Normal file
@@ -0,0 +1,65 @@
|
||||
import {
|
||||
Entity,
|
||||
PrimaryGeneratedColumn,
|
||||
Column,
|
||||
CreateDateColumn,
|
||||
UpdateDateColumn,
|
||||
} from 'typeorm';
|
||||
import { BaseEntity } from '../../../core/base/BaseEntity';
|
||||
|
||||
/**
|
||||
* 微信开放平台小程序版本实体
|
||||
*/
|
||||
@Entity('wx_oplatfrom_weapp_version')
|
||||
export class WxOplatfromWeappVersion extends BaseEntity {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number;
|
||||
|
||||
@Column({ name: 'site_group_id', type: 'int', comment: '站点分组ID' })
|
||||
siteGroupId: number;
|
||||
|
||||
@Column({ name: 'version', length: 50, comment: '版本号' })
|
||||
version: string;
|
||||
|
||||
@Column({
|
||||
name: 'version_desc',
|
||||
length: 500,
|
||||
nullable: true,
|
||||
comment: '版本描述',
|
||||
})
|
||||
versionDesc: string;
|
||||
|
||||
@Column({
|
||||
name: 'template_id',
|
||||
length: 100,
|
||||
nullable: true,
|
||||
comment: '模板ID',
|
||||
})
|
||||
templateId: string;
|
||||
|
||||
@Column({
|
||||
name: 'ext_json',
|
||||
type: 'text',
|
||||
nullable: true,
|
||||
comment: '扩展配置',
|
||||
})
|
||||
extJson: string;
|
||||
|
||||
@Column({
|
||||
name: 'status',
|
||||
type: 'tinyint',
|
||||
default: 1,
|
||||
comment: '状态 0禁用 1启用',
|
||||
})
|
||||
status: number;
|
||||
|
||||
@CreateDateColumn({ name: 'create_time', comment: '创建时间' })
|
||||
createTime: Date;
|
||||
|
||||
@UpdateDateColumn({ name: 'update_time', comment: '更新时间' })
|
||||
updateTime: Date;
|
||||
|
||||
// 虚拟字段
|
||||
statusName?: string;
|
||||
siteGroupName?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user