You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { Expose } from 'class-transformer'
|
|
import { IsNotEmpty } from 'class-validator'
|
|
|
|
export class PostAdminMemberDto {
|
|
|
|
@Expose()
|
|
@IsNotEmpty({message:'登录用户名不能为空'})
|
|
readonly username!:string
|
|
|
|
@Expose()
|
|
@IsNotEmpty({message:'登录密码不能为空'})
|
|
readonly password!:string
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|