package shop.alien.entity.store;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 八大类团购套餐表
 * </p>
 *
 * @author ssk
 * @since 2025-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="StoreGroupPackage对象", description="八大类团购套餐表")
public class StoreGroupPackage extends Model<StoreGroupPackage> {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "商家id")
    @TableField("store_id")
    private Integer storeId;

    @ApiModelProperty(value = "团购名称")
    @TableField("group_name")
    private String groupName;

    @ApiModelProperty(value = "商家类型")
    @TableField("store_type")
    private String storeType;

    @ApiModelProperty(value = "开始售卖时间类型")
    @TableField("sale_time_str_type")
    private String saleTimeStrType;

    @ApiModelProperty(value = "开始售卖时间")
    @TableField("sale_time_str")
    private String saleTimeStr;

    @ApiModelProperty(value = "结束售卖时间类型")
    @TableField("sale_time_end_type")
    private String saleTimeEndType;

    @ApiModelProperty(value = "结束售卖时间")
    @TableField("sale_time_end")
    private String saleTimeEnd;

    @ApiModelProperty(value = "数量")
    @TableField("quantity")
    private String quantity;

    @ApiModelProperty(value = "每人限购CODE")
    @TableField("purchase_limit_code")
    private String purchaseLimitCode;

    @ApiModelProperty(value = "每人限购（间）")
    @TableField("purchase_limit")
    private String purchaseLimit;

    @ApiModelProperty(value = "原价")
    @TableField("original_price")
    private String originalPrice;

    @ApiModelProperty(value = "优惠价")
    @TableField("discounted_price")
    private String discountedPrice;

    @ApiModelProperty(value = "经营种类")
    @TableField("business_types")
    private String businessTypes;

    @ApiModelProperty(value = "住房类型")
    @TableField("housing_type")
    private String housingType;

    @ApiModelProperty(value = "房间类型")
    @TableField("room_type")
    private String roomType;

    @ApiModelProperty(value = "房间类型code")
    @TableField("room_type_code")
    private String roomTypeCode;

    @ApiModelProperty(value = "厨房(详情里面)")
    @TableField("kitchen_xq")
    private String kitchenXq;

    @ApiModelProperty(value = "卫生间(详情里面)")
    @TableField("bathroom_xq")
    private String bathroomXq;

    @ApiModelProperty(value = "客厅")
    @TableField("living_room")
    private String livingRoom;

    @ApiModelProperty(value = "房源位置")
    @TableField("location_of_the_property")
    private String locationOfTheProperty;

    @ApiModelProperty(value = "总面积")
    @TableField("total_area")
    private String totalArea;

    @ApiModelProperty(value = "娱乐设施code")
    @TableField("entertainment_facilities_code")
    private String entertainmentFacilitiesCode;

    @ApiModelProperty(value = "娱乐设施")
    @TableField("entertainment_facilities")
    private String entertainmentFacilities;

    @ApiModelProperty(value = "便利设施code")
    @TableField("convenience_facilities_code")
    private String convenienceFacilitiesCode;

    @ApiModelProperty(value = "便利设施")
    @TableField("convenience_facilities")
    private String convenienceFacilities;

    @ApiModelProperty(value = "浴室配套code")
    @TableField("bathroom_facilities_code")
    private String bathroomFacilitiesCode;

    @ApiModelProperty(value = "浴室配套")
    @TableField("bathroom_facilities")
    private String bathroomFacilities;

    @ApiModelProperty(value = "洗漱用品code")
    @TableField("bath_products_code")
    private String bathProductsCode;

    @ApiModelProperty(value = "洗浴用品")
    @TableField("bath_products")
    private String bathProducts;

    @ApiModelProperty(value = "服务code")
    @TableField("service_code")
    private String serviceCode;

    @ApiModelProperty(value = "服务")
    @TableField("service")
    private String service;

    @ApiModelProperty(value = "安全code")
    @TableField("safety_code")
    private String safetyCode;

    @ApiModelProperty(value = "安全")
    @TableField("safety")
    private String safety;

    @ApiModelProperty(value = "预订须知")
    @TableField("reservation_instructions")
    private String reservationInstructions;

    @ApiModelProperty(value = "开始时间")
    @TableField("in_time")
    private String inTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("out_time")
    private String outTime;

    @ApiModelProperty(value = "是否需要押金")
    @TableField("deposit_flag")
    private String depositFlag;

    @ApiModelProperty(value = "押金金额")
    @TableField("deposit_amount")
    private String depositAmount;

    @ApiModelProperty(value = "是否可以携带儿童")
    @TableField("children_flag")
    private String childrenFlag;

    @ApiModelProperty(value = "携带儿童说明")
    @TableField("children_description")
    private String childrenDescription;

    @ApiModelProperty(value = "是否可以携带宠物")
    @TableField("pet_flag")
    private String petFlag;

    @ApiModelProperty(value = "是否允许加床")
    @TableField("extra_bed_flag")
    private String extraBedFlag;

    @ApiModelProperty(value = "床单价")
    @TableField("bed_price")
    private String bedPrice;

    @ApiModelProperty(value = "使用规则")
    @TableField("usage_rules")
    private String usageRules;

    @ApiModelProperty(value = "发票信息")
    @TableField("invoice_info")
    private String invoiceInfo;

    @ApiModelProperty(value = "发票说明")
    @TableField("invoice_instructions")
    private String invoiceInstructions;

    @ApiModelProperty(value = "取消政策类型")
    @TableField("cancellation_policy_type")
    private String cancellationPolicyType;

    @ApiModelProperty(value = "取消政策")
    @TableField("cancellation_policy")
    private String cancellationPolicy;

    @ApiModelProperty(value = "取消说明")
    @TableField("Cancellation_instructions")
    private String cancellationInstructions;

    @ApiModelProperty(value = "是否保价")
    @TableField("insured_price")
    private String insuredPrice;

    @ApiModelProperty(value = "低于多少元")
    @TableField("lower_price")
    private String lowerPrice;

    @ApiModelProperty(value = "补偿多少元")
    @TableField("compensation_price")
    private String compensationPrice;

    @ApiModelProperty(value = "有效期类型")
    @TableField("validity_period_type")
    private String validityPeriodType;

    @ApiModelProperty(value = "有效期")
    @TableField("validity_period")
    private String validityPeriod;

    @ApiModelProperty(value = "包厢类型code")
    @TableField("box_type_code")
    private String boxTypeCode;

    @ApiModelProperty(value = "包箱类型")
    @TableField("box_type")
    private String boxType;

    @ApiModelProperty(value = "饮食小吃code")
    @TableField("snacks_code")
    private String snacksCode;

    @ApiModelProperty(value = "饮品小食")
    @TableField("snacks")
    private String snacks;

    @ApiModelProperty(value = "可用时长")
    @TableField("available_duration")
    private String availableDuration;

    @ApiModelProperty(value = "核销方式类型")
    @TableField("write_off_type")
    private String writeOffType;

    @ApiModelProperty(value = "核销方式")
    @TableField("write_off")
    private String writeOff;

    @ApiModelProperty(value = "退款规则类型")
    @TableField("refund_rules_type")
    private String refundRulesType;

    @ApiModelProperty(value = "退款规则")
    @TableField("refund_rules")
    private String refundRules;

    @ApiModelProperty(value = "退款说明")
    @TableField("refund_instructions")
    private String refundInstructions;

    @ApiModelProperty(value = "修改规则code")
    @TableField("edit_rules_code")
    private String editRulesCode;

    @ApiModelProperty(value = "修改规则")
    @TableField("edit_rules")
    private String editRules;

    @ApiModelProperty(value = "修改说明")
    @TableField("edit_instructions")
    private String editInstructions;

    @ApiModelProperty(value = "汤池code")
    @TableField("tangchi_code")
    private String tangchiCode;

    @ApiModelProperty(value = "汤池")
    @TableField("tangchi")
    private String tangchi;

    @ApiModelProperty(value = "汗蒸code")
    @TableField("sweat_sauna_code")
    private String sweatSaunaCode;

    @ApiModelProperty(value = "汗蒸")
    @TableField("sweat_sauna")
    private String sweatSauna;

    @ApiModelProperty(value = "图文详情")
    @TableField("pictures_and_text")
    private String picturesAndText;

    @ApiModelProperty(value = "补充说明")
    @TableField("supplement")
    private String supplement;

    @ApiModelProperty(value = "不可用时期类型")
    @TableField("unavailable_date_type")
    private String unavailableDateType;

    @ApiModelProperty(value = "不可用日期")
    @TableField("unavailable_date")
    private String unavailableDate;

    @ApiModelProperty(value = "预约规则")
    @TableField("reservation_rules")
    private String reservationRules;

    @ApiModelProperty(value = "适用人数")
    @TableField("applicable_num")
    private String applicableNum;

    @ApiModelProperty(value = "其他规则")
    @TableField("other_rules")
    private String otherRules;

    @ApiModelProperty(value = "售卖类型")
    @TableField("sales_type")
    private String salesType;

    @ApiModelProperty(value = "按摩手法code")
    @TableField("massage_technique_code")
    private String massageTechniqueCode;

    @ApiModelProperty(value = "按摩手法")
    @TableField("massage_technique")
    private String massageTechnique;

    @ApiModelProperty(value = "按摩部位code")
    @TableField("massage_area_code")
    private String massageAreaCode;

    @ApiModelProperty(value = "按摩部位")
    @TableField("massage_area")
    private String massageArea;

    @ApiModelProperty(value = "按摩工具code")
    @TableField("massage_tools_code")
    private String massageToolsCode;

    @ApiModelProperty(value = "按摩工具")
    @TableField("massage_tools")
    private String massageTools;

    @ApiModelProperty(value = "热敷工具code")
    @TableField("compress_tools_code")
    private String compressToolsCode;

    @ApiModelProperty(value = "热敷工具")
    @TableField("compress_tools")
    private String compressTools;

    @ApiModelProperty(value = "上课形式code")
    @TableField("class_format_code")
    private String classFormatCode;

    @ApiModelProperty(value = "上课形式")
    @TableField("class_format")
    private String classFormat;

    @ApiModelProperty(value = "课程时长code")
    @TableField("class_duration_code")
    private String classDurationCode;

    @ApiModelProperty(value = "课程时长")
    @TableField("class_duration")
    private String classDuration;

    @ApiModelProperty(value = "课时数code")
    @TableField("class_num_code")
    private String classNumCode;

    @ApiModelProperty(value = "课时数")
    @TableField("class_num")
    private String classNum;

    @ApiModelProperty(value = "适用部位code")
    @TableField("applicable_parts_code")
    private String applicablePartsCode;

    @ApiModelProperty(value = "适用部位")
    @TableField("applicable_parts")
    private String applicableParts;

    @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 = "卫生code")
    @TableField("hygiene_code")
    private String hygieneCode;

    @ApiModelProperty(value = "卫生")
    @TableField("hygiene")
    private String hygiene;

    @ApiModelProperty(value = "基础code")
    @TableField("foundation_code")
    private String foundationCode;

    @ApiModelProperty(value = "基础")
    @TableField("foundation")
    private String foundation;

    @ApiModelProperty(value = "卫浴code")
    @TableField("bathroom_code")
    private String bathroomCode;

    @ApiModelProperty(value = "卫浴")
    @TableField("bathroom")
    private String bathroom;

    @ApiModelProperty(value = "厨房code")
    @TableField("kitchen_code")
    private String kitchenCode;

    @ApiModelProperty(value = "厨房")
    @TableField("kitchen")
    private String kitchen;

    @ApiModelProperty(value = "优惠券有效期类型")
    @TableField("validity_period_yh_type")
    private String validityPeriodYhType;

    @ApiModelProperty(value = "优惠券有效期")
    @TableField("validity_period_yh")
    private String validityPeriodYh;

    @ApiModelProperty(value = "课程有效期code")
    @TableField("course_validity_period_code")
    private String courseValidityPeriodCode;

    @ApiModelProperty(value = "课程有效期")
    @TableField("course_validity_period")
    private String courseValidityPeriod;

    @ApiModelProperty(value = "图片")
    @TableField("uploaded_picList")
    private String uploadedPiclist;


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

}
