struct PlaceOS::Model::User::WorktimeBlock

Overview

start_time: Start time of work hours. e.g. 7.5 being 7:30AM end_time: End time of work hours. e.g. 18.5 being 6:30PM location: Name of the location the work is being performed at

Included Modules

Defined in:

placeos-models/user.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def end_time : Float64 #

def end_time=(end_time : Float64) #

def location : String #

def location=(location : String) #

def start_time : Float64 #

def start_time=(start_time : Float64) #