package com.sptg.device.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * title: TimeStrategyConf
 * package: com.sptg.device.api.entity
 * description: 时间策略参数
 */
@Setter
@Getter
@TableName(value = "time_strategy_conf")
public class TimeStrategyConf{
    /**
     * 主键
     */
    @TableId(value = "l_id",type = IdType.AUTO)
    private Long id;

    /**
     * 时间策略Id
     */
    @TableField(value="l_strategy_id")
    private  long strategyId;

    /**
     * 开始时间
     */
    @TableField(value="t_begin_time")
    private Date beginTime;

    /**
     * 结束时间
     */
    @TableField(value="t_end_time")
    private Date endTime;

    /**
     * 音量
     */
    @TableField(value="i_sound_volume")
    private int soundVolume;

    /**
     * 屏幕亮度
     */
    @TableField(value="i_screen_luminance")
    private int screenLuminance;

    /**
     * 补光灯亮度
     */
    @TableField(value="i_fill_light_luminance")
    private int fillLightLuminance;
}
