package com.sqx.modules.bl.massage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description bl_massage_package_detail
 * 服务包-明细表
 * @author caolei
 * @date 2024-06-05
 */
@Data
@TableName("bl_massage_package_detail")
public class MassagePackageDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)

    /**
     * 服务包明细id
     */
    private Long id;

    /**
     * 主表id
     */
    private Long mainId;

    /**
     * 按摩类型id
     */
    private Long massageTypeId;

    /**
     * 服务优惠价格
     */
    private BigDecimal packagePrice;

    /**
     * 服务次数
     */
    private Integer serviceCount;

    /**
     * 间隔天数
     */
    private Integer intervalDays;
    /**
     * 疗程描述
     */
    @TableField(exist = false)
    private String intervalDaysStr;

    /**
     * 图片
     */
    @TableField(exist = false)
    private String massageImg;

    /**
     * 标题
     */
    @TableField(exist = false)
    private String title;

    /**
     * 类型
     */
    @TableField(exist = false)
    private Integer type;

    /**
     * 内容
     */
    @TableField(exist = false)
    private String content;

    /**
     * 详细图片
     */
    @TableField(exist = false)
    private String contentImg;

    /**
     * 原价
     */
    @TableField(exist = false)
    private BigDecimal oldPrice;

    /**
     * 现价
     */
    @TableField(exist = false)
    private BigDecimal price;

    /**
     * 时长
     */
    @TableField(exist = false)
    private Integer duration;

    /**
     * 销量
     */
    @TableField(exist = false)
    private Integer sales;

    /**
     * 是否限制性别 0不限制 1男 2女
     */
    @TableField(exist = false)
    private Integer isSex;

    /**
     * 状态 1上 2下
     */
    @TableField(exist = false)
    private Integer status;

    /**
     * 城市
     */
    @TableField(exist = false)
    private String city;

    /**
     * 标签
     */
    @TableField(exist = false)
    private String labels;

    /**
     * 适用人群
     */
    @TableField(exist = false)
    private String applyPeople;

    /**
     * 简介
     */
    @TableField(exist = false)
    private String jianjie;

    /**
     * 创建时间
     */
    @TableField(exist = false)
    private String createTime;

    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer limit;

    /**
     * 简介
     */
    @TableField(exist = false)
    private Long userId;

    public MassagePackageDetail() {}
}
