/* eslint-disable no-underscore-dangle */ import { ObjectInterface } from '../interfaces/index.js' import type { Field } from '../types.js' class Event extends ObjectInterface { duration: Field = { name :'duration', display:[ 'create', 'edit', ], formField:{ type :'text', // This could be changed to a more appropriate type label :'Duration', optional:true, }, } startTime: Field = { name :'start_time', display:[ 'create', 'edit', ], formField:{ type :'datetime-local', label:'Start Time', }, } endTime: Field = { name :'end_time', display:[ 'create', 'edit', ], formField:{ type :'datetime-local', label:'End Time', }, } constructor( kwargs: Record = {}, mutations = null, ) { super( kwargs, mutations, ) this._initialize(kwargs) } } export default Event