mirror of https://github.com/doccano/doccano.git
pythonannotation-tooldatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learning
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
403 B
17 lines
403 B
import { MemberItem } from '~/domain/models/member/member'
|
|
import { RoleName } from '~/domain/models/role/role'
|
|
export class MemberDTO {
|
|
id: number
|
|
user: number
|
|
role: number
|
|
username: string
|
|
rolename: RoleName
|
|
|
|
constructor(item: MemberItem) {
|
|
this.id = item.id
|
|
this.user = item.user
|
|
this.role = item.role
|
|
this.username = item.username
|
|
this.rolename = item.rolename
|
|
}
|
|
}
|