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

import com.bonus.canteen.core.common.utils.FileUrlUtil;
import com.bonus.common.core.annotation.Excel;
import com.bonus.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.time.LocalTime;
import java.util.Date;

/**
 * 档口信息对象 alloc_stall_mealtime
 * 
 * @author xsheng
 * @date 2025-04-03
 */


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

    /** id */
    private Long id;

    /** 档口id */
    private Long stallId;

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

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

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

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

}
