package com.sqx.modules.artificer.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 com.sqx.modules.bl.order.entity.UserPackageDetail;
import lombok.Data;

import java.io.Serializable;

/**
 * @description orders_massage
 * @author fang
 * @date 2021-12-18
 */
@Data
@TableName("orders_massage")
public class OrdersMassage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 订单服务id
     */
    private Long ordersMassageId;

    /**
     * 订单id
     */
    private Long ordersId;

    /**
     * 服务id
     */
    private Long massageId;

    /**
     * 数量
     */
    private Integer num;

    @TableField(exist = false)
    private MassageType massageType;

    @TableField(exist = false)
    private UserPackageDetail userPackageDetail;

    public OrdersMassage() {}
}
