package com.yh.saas.plugin.yiliangyiyun.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 开通业务表
 * </p>
 *
 * @author Gdc
 * @since 2021-10-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("open_service_info")
public class OpenServiceInfo extends BaseModel<OpenServiceInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.UUID)
    private String id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 手机号
     */
    private String mobilePhone;
    /**
     * 留言
     */
    private String message;
    /**
     * 类型(1开通业务2联系客服)
     */
    private String type;


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

}
