活动:修改表名
This commit is contained in:
@@ -7,7 +7,7 @@ import { index, getModelForClass, prop, DocumentType } from '@typegoose/typegoos
|
||||
*/
|
||||
@index({ roleId: 1 })
|
||||
|
||||
export default class ActivityPopUpShop extends BaseModel {
|
||||
export default class Activity_Pop_Up_Shop extends BaseModel {
|
||||
@prop({ required: true })
|
||||
serverId: number; // 服id
|
||||
@prop({ required: true })
|
||||
@@ -64,7 +64,7 @@ export default class ActivityPopUpShop extends BaseModel {
|
||||
}
|
||||
}
|
||||
|
||||
export const ActivityPopUpShopModel = getModelForClass(ActivityPopUpShop);
|
||||
export const ActivityPopUpShopModel = getModelForClass(Activity_Pop_Up_Shop);
|
||||
|
||||
export interface ActivityPopUpShopModelType extends Pick<DocumentType<ActivityPopUpShop>, keyof ActivityPopUpShop> { }
|
||||
export interface ActivityPopUpShopModelType extends Pick<DocumentType<Activity_Pop_Up_Shop>, keyof Activity_Pop_Up_Shop> { }
|
||||
export type ActivityPopUpShopModelTypeParam = Partial<ActivityPopUpShopModelType>; // 将所有字段变成可选项
|
||||
Reference in New Issue
Block a user