package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;

/**
 * OperatingHours对象 operating_hours
 * 
 * @author ruoyi
 * @date 2025-02-11
 */
@Data
@TableName(value = "operating_hours")
@EqualsAndHashCode(callSuper = false)
public class OperatingHours
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /** id */
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    private Long mdId;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 星期几(1=周一,..., 6=周六,7=星期日) */
    @Excel(name = "星期几")
    private Integer dayOfWeek;

    /** 该天是否营业(1=营业,0=不营业) */
    @Excel(name = "是否营业")
    private Boolean isOpen;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMdId(Long mdId) 
    {
        this.mdId = mdId;
    }

    public Long getMdId() 
    {
        return mdId;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }

}
