package com.sptg.video.cloud.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zwx
 * @create 2020/11/19 12:01
 */
@Setter
@Getter
@TableName(value = "vc_pusher_config")
public class VCPusherConfig {

    @TableId(value = "l_id", type = IdType.AUTO)
    private Long id;

    /**
     * 推流服务地址
     */
    @TableField(value = "s_pusher_url")
    private String pusherUrl;

    /**
     * 推流源地址，一般是rtmp
     */
    @TableField(value = "s_push_desc_url")
    private String pushDescUrl;

    /**
     * 推流服务器ip
     */
    @TableField(value = "s_media_server")
    private String mediaServer;

    /**
     * 推流目标url
     */
    @TableField(value = "s_dst_url")
    private String dstUrl;
}
