Homeautomation/src/main/java/de/ph87/homeautomation/property/PropertyDto.java

32 lines
728 B
Java

package de.ph87.homeautomation.property;
import lombok.Getter;
import java.time.ZonedDateTime;
@Getter
public class PropertyDto {
public final String name;
public final String title;
public final PropertyType propertyType;
public final Boolean booleanValue;
public final Number numberValue;
public final ZonedDateTime timestamp;
public PropertyDto(final String name, final String title, final PropertyType propertyType, final Boolean booleanValue, final Number numberValue, final ZonedDateTime timestamp) {
this.name = name;
this.title = title;
this.propertyType = propertyType;
this.booleanValue = booleanValue;
this.numberValue = numberValue;
this.timestamp = timestamp;
}
}