19 lines
432 B
Go
19 lines
432 B
Go
package proto
|
|
|
|
import "service/dbstruct"
|
|
|
|
type TextAuditTaskVO struct {
|
|
*dbstruct.TextAuditTask
|
|
TextAudit *dbstruct.TextAudit `json:"text_audit"`
|
|
}
|
|
|
|
func (vo *TextAuditTaskVO) CopyTextAuditTask(textAuditTask *dbstruct.TextAuditTask) *TextAuditTaskVO {
|
|
vo.TextAuditTask = textAuditTask
|
|
return vo
|
|
}
|
|
|
|
func (vo *TextAuditTaskVO) CopyTextAudit(textAudit *dbstruct.TextAudit) *TextAuditTaskVO {
|
|
vo.TextAudit = textAudit
|
|
return vo
|
|
}
|