package shop.alien.entity.store;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import java.util.Date;

/**
 * <p>
 * 酒店团购子表
 * </p>
 *
 * @author qxy
 * @since 2025-07-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="StoreHotelGroupRoomInfo对象", description="酒店团购子表")
public class StoreHotelGroupRoomInfo extends Model<StoreHotelGroupRoomInfo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "团购id")
    @TableField("group_id")
    private String groupId;

    @ApiModelProperty(value = "面积")
    @TableField("area")
    private Double area;

    @ApiModelProperty(value = "床尺寸code")
    @TableField("bed_size_code")
    private String bedSizeCode;

    @ApiModelProperty(value = "床尺寸")
    @TableField("bed_size")
    private String bedSize;

    @ApiModelProperty(value = "床数量")
    @TableField("bed_num")
    private Integer bedNum;

    @ApiModelProperty(value = "窗：0：否，1：是")
    @TableField("window_flag")
    private Integer windowFlag;

    @ApiModelProperty(value = "独立卫生间： 0：否，1：是")
    @TableField("bathroom_flag")
    private Integer bathroomFlag;

    @ApiModelProperty(value = "wifi： 0：否，1：是")
    @TableField("wifi_flag")
    private Integer wifiFlag;

    @ApiModelProperty(value = "早餐： 0：否，1：是")
    @TableField("breakfast_flag")
    private Integer breakfastFlag;

    @ApiModelProperty(value = "起始楼层")
    @TableField("floor_str")
    private String floorStr;

    @ApiModelProperty(value = "最低楼层")
    @TableField("floor_end")
    private String floorEnd;

    @ApiModelProperty(value = "居住人数")
    @TableField("residence_num")
    private Integer residenceNum;

    @ApiModelProperty(value = "吸烟：0：否，1：是")
    @TableField("smoking_flag")
    private Integer smokingFlag;

    @ApiModelProperty(value = "删除状态")
    @TableField("delete_flag")
    @TableLogic
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;

    @ApiModelProperty(value = "创建人ID")
    @TableField(value = "created_user_id", fill = FieldFill.INSERT)
    private Integer createdUserId;

    @ApiModelProperty(value = "修改人ID")
    @TableField(value = "updated_user_id", fill = FieldFill.INSERT_UPDATE)
    private Integer updatedUserId;

    @ApiModelProperty(value = "类别")
    @TableField("category")
    private String category;

    @ApiModelProperty(value = "服务名称")
    @TableField("service_name")
    private String serviceName;

    @ApiModelProperty(value = "数量")
    @TableField("num")
    private Integer num;

    @ApiModelProperty(value = "分组名")
    @TableField("group_name")
    private String groupName;

    @ApiModelProperty(value = "时长")
    @TableField("duration")
    private String duration;

    @ApiModelProperty(value = "sonOrder")
    @TableField("son_order")
    private Integer sonOrder;

    @ApiModelProperty(value = "fatherOrder")
    @TableField("father_order")
    private Integer fatherOrder;

    @ApiModelProperty(value = "早餐说明")
    @TableField("break_fast_str")
    private String breakFastStr;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
