fix: adds return reasons to swaps (#1026)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Type } from "class-transformer"
|
||||
import {
|
||||
Min,
|
||||
IsOptional,
|
||||
IsArray,
|
||||
IsString,
|
||||
@@ -292,7 +293,16 @@ class ReturnItem {
|
||||
|
||||
@IsNumber()
|
||||
@IsNotEmpty()
|
||||
@Min(1)
|
||||
quantity: number
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
reason_id?: string
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
note?: string
|
||||
}
|
||||
|
||||
class ReturnShipping {
|
||||
|
||||
Reference in New Issue
Block a user