package com.yuchen.saas.park.api.entity.door;

import com.baomidou.mybatisplus.annotation.TableName;
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.util.Date;

/**
 * <p>
 * 假日组设置
 * </p>
 *
 * @author miaoqs
 * @since 2023-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("door_holiday_group_set")
@ApiModel(value="DoorHolidayGroupSet对象", description="假日设置")
public class DoorHolidayGroupSet extends TenantEntity {

    /**
     * 节假日组id
     */
    @ApiModelProperty(name = "pmgHolidayGroupId", value = "节假日组id")
    private Long pmgHolidayGroupId;
    /**
     * 开始时间
     */
    @ApiModelProperty(name = "startDate", value = "开始时间")
    private Date startDate;
    /**
     * 结束时间
     */
    @ApiModelProperty(name = "endData", value = "结束时间")
    private Date endData;
    /**
     * 时间组(开始结束时间用,逗号分隔，时间组之间用分号;分隔)
     */
    @ApiModelProperty(name = "timeGroup", value = "时间组(开始结束时间用,逗号分隔，时间组之间用分号;分隔)")
    private String timeGroup;

    /**
     * 记录个数(添加时id传num值，不大于128)
     */
    @ApiModelProperty(name = "num", value = "记录个数(添加时id传num值，不大于128)")
    private Integer num;


}
