package com.ustadmobile.lib.db.entities.ext

import com.ustadmobile.lib.db.entities.ClazzLogAttendanceRecordWithPerson
import kotlin.Unit

public actual
    fun ClazzLogAttendanceRecordWithPerson.shallowCopy(block: ClazzLogAttendanceRecordWithPerson.() -> Unit):
    ClazzLogAttendanceRecordWithPerson = ClazzLogAttendanceRecordWithPerson().also {
  it.person = this.person
  it.clazzLogAttendanceRecordUid = this.clazzLogAttendanceRecordUid
  it.clazzLogAttendanceRecordClazzLogUid = this.clazzLogAttendanceRecordClazzLogUid
  it.clazzLogAttendanceRecordPersonUid = this.clazzLogAttendanceRecordPersonUid
  it.attendanceStatus = this.attendanceStatus
  it.clazzLogAttendanceRecordMasterChangeSeqNum = this.clazzLogAttendanceRecordMasterChangeSeqNum
  it.clazzLogAttendanceRecordLocalChangeSeqNum = this.clazzLogAttendanceRecordLocalChangeSeqNum
  it.clazzLogAttendanceRecordLastChangedBy = this.clazzLogAttendanceRecordLastChangedBy
  it.clazzLogAttendanceRecordLastChangedTime = this.clazzLogAttendanceRecordLastChangedTime
  block(it)
}
