import { IsNotEmpty } from 'class-validator'
export enum RenewType {
    JSAPI = 'JSAPI',
    WEB = 'WEB'
}
export class RenewDto {
    userId?: number

    @IsNotEmpty()
    planId: number

    @IsNotEmpty()
    type: RenewType

    openid?: string
}
