feat: implement pet variety management with CRUD operations and integrate into pet entity
This commit is contained in:
1 parent
95af6110ac
commit
e99524a157
12 files changed
+201
-3
No files matched your search
@@ -17,6 +17,12 @@ export class CreatePetRequest {
|
||||
@ApiProperty()
|
||||
type: PetType;
|
||||
|
||||
@IsNotEmpty({
|
||||
message: '请选择品种',
|
||||
})
|
||||
@ApiProperty()
|
||||
varietyName: string;
|
||||
|
||||
@IsNotEmpty({
|
||||
message: '请选择性别',
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user