package com.bonus.canteen.core.basic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 档口餐次配置对象 basic_stall_mealtime
 * 
 * @author xsheng
 * @date 2025-05-25
 */


@Data
@ToString
public class BasicStallMealtime extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 档口id */
    @Excel(name = "档口id")
    @ApiModelProperty(value = "档口id")
    private Long stallId;

    /** 餐次类型 */
    @Excel(name = "餐次类型")
    @ApiModelProperty(value = "餐次类型")
    private Long mealtimeType;

    /** 餐次名称 */
    @Excel(name = "餐次名称")
    @ApiModelProperty(value = "餐次名称")
    private String mealtimeName;

    /** 开始时间 */
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "开始时间", width = 10, dateFormat = "HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "结束时间", width = 10, dateFormat = "HH:mm:ss")
    private Date endTime;

    /** 是否启用（1是，2否） */
    @Excel(name = "是否启用", readConverterExp = "1=是，2否")
    private String ifEnable;


}
