From b9a213f344714988db8d86b32dbaa9c362587a63 Mon Sep 17 00:00:00 2001 From: luying Date: Sat, 12 Dec 2020 11:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9hero=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=A1=A8=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/db/Hero.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shared/db/Hero.ts b/shared/db/Hero.ts index 2b6d9eccf..da9677a2b 100644 --- a/shared/db/Hero.ts +++ b/shared/db/Hero.ts @@ -10,7 +10,10 @@ import { COUNTER } from '../consts/consts'; class Connect { @prop({ required: true }) - id: number; + shipId: number; + @prop({ required: true }) + level: number; + } class Skin {