package com.yuchen.saas.parking.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import java.time.LocalTime;

/**
 * <p>
 * 屏显规则时间段
 * </p>
 *
 * @author yuanzhelin
 * @since 2024-08-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pmg_bat_park_parking_screen_rule_time")
@ApiModel(value="PmgBatParkParkingScreenRuleTime对象", description="屏显规则时间段")
public class PmgBatParkParkingScreenRuleTime extends TenantEntity {

    /**
     * 屏显规则id
     */
    @ApiModelProperty(name = "ruleId", value = "屏显规则id")
    private Long ruleId;
    /**
     * 开始时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm")
    @ApiModelProperty(name = "beginTime", value = "开始时间")
    private LocalTime beginTime;
    /**
     * 结束时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm")
    @ApiModelProperty(name = "endTime", value = "结束时间")
    private LocalTime endTime;
    /**
     * 音量
     */
    @ApiModelProperty(name = "volume", value = "音量")
    private Integer volume;
    /**
     * 屏幕亮度
     */
    @ApiModelProperty(name = "screenBrightness", value = "屏幕亮度")
    private Integer screenBrightness;
    /**
     * 滚动速度
     */
    @ApiModelProperty(name = "scrollSpeed", value = "滚动速度")
    private Integer scrollSpeed;



}
