Commit 8322709872b5e58ebe5d0c20b187260ee0003c01

Authored by liwei2917
1 parent a4b18d3a

增加直播申请表

src/main/java/com/cnlive/shenhe/entity/ShyLiveapply.java 0 → 100644
  1 +package com.cnlive.shenhe.entity;
  2 +
  3 +import java.util.Date;
  4 +import javax.persistence.*;
  5 +
  6 +@Table(name = "shy_liveapply")
  7 +public class ShyLiveapply {
  8 + /**
  9 + * id
  10 + */
  11 + @Id
  12 + private Integer id;
  13 +
  14 + /**
  15 + * 直播活动id
  16 + */
  17 + private String activity_id;
  18 +
  19 + /**
  20 + * 直播频道id
  21 + */
  22 + private String channel_id;
  23 +
  24 + /**
  25 + * spId
  26 + */
  27 + private Integer sp_id;
  28 +
  29 + /**
  30 + * 直播发起人
  31 + */
  32 + private String sender;
  33 +
  34 + /**
  35 + * 联系方式
  36 + */
  37 + private String mobile;
  38 +
  39 + /**
  40 + * 直播发起单位
  41 + */
  42 + private String organization;
  43 +
  44 + /**
  45 + * 直播主题
  46 + */
  47 + private String theme;
  48 +
  49 + /**
  50 + * 预计开始时间
  51 + */
  52 + private Date preStartTime;
  53 +
  54 + /**
  55 + * 预计结束时间
  56 + */
  57 + private Date preEndTime;
  58 +
  59 + /**
  60 + * 商务模式:0免费 1收费
  61 + */
  62 + private Integer businessModel;
  63 +
  64 + /**
  65 + * 内容属性:1商业类活动 0非商业活动
  66 + */
  67 + private Integer contentProperty;
  68 +
  69 + /**
  70 + * 要点报备:0品牌植入 1广告植入 2商品推销 3网家家独家麦标
  71 + */
  72 + private String keys;
  73 +
  74 + /**
  75 + * 直播地点
  76 + */
  77 + private String livePlace;
  78 +
  79 + /**
  80 + * 推流地址
  81 + */
  82 + private String pushUrl;
  83 +
  84 + /**
  85 + * 拉流地址
  86 + */
  87 + private String pullUrl;
  88 +
  89 + /**
  90 + * 播出平台及通道:0网家家 1CNLive网站 2@TV互动电视
  91 + */
  92 + private String platforms;
  93 +
  94 + /**
  95 + * 回调地址
  96 + */
  97 + private String callback;
  98 +
  99 + /**
  100 + * 审核类型,1:免审,2:机审,3:人工审
  101 + */
  102 + private Integer shenhe_type;
  103 +
  104 + /**
  105 + * 领取状态。0:未领取;1:已领取
  106 + */
  107 + private Integer receive;
  108 +
  109 + /**
  110 + * 审核状态:0.未审核,1:已审核,2.拒绝
  111 + */
  112 + private Integer shenhe_state;
  113 +
  114 + /**
  115 + * 更新者
  116 + */
  117 + private String updater;
  118 +
  119 + /**
  120 + * 审核员
  121 + */
  122 + private String auditor;
  123 +
  124 + /**
  125 + * 审核信息
  126 + */
  127 + private String shenhe_msg;
  128 +
  129 + /**
  130 + * 创建时间
  131 + */
  132 + private Date created_at;
  133 +
  134 + /**
  135 + * 更新时间
  136 + */
  137 + private Date updated_at;
  138 +
  139 + /**
  140 + * 内容简述
  141 + */
  142 + private String simpleContent;
  143 +
  144 + /**
  145 + * 获取id
  146 + *
  147 + * @return id - id
  148 + */
  149 + public Integer getId() {
  150 + return id;
  151 + }
  152 +
  153 + /**
  154 + * 设置id
  155 + *
  156 + * @param id id
  157 + */
  158 + public void setId(Integer id) {
  159 + this.id = id;
  160 + }
  161 +
  162 + /**
  163 + * 获取直播活动id
  164 + *
  165 + * @return activity_id - 直播活动id
  166 + */
  167 + public String getActivity_id() {
  168 + return activity_id;
  169 + }
  170 +
  171 + /**
  172 + * 设置直播活动id
  173 + *
  174 + * @param activity_id 直播活动id
  175 + */
  176 + public void setActivity_id(String activity_id) {
  177 + this.activity_id = activity_id;
  178 + }
  179 +
  180 + /**
  181 + * 获取直播频道id
  182 + *
  183 + * @return channel_id - 直播频道id
  184 + */
  185 + public String getChannel_id() {
  186 + return channel_id;
  187 + }
  188 +
  189 + /**
  190 + * 设置直播频道id
  191 + *
  192 + * @param channel_id 直播频道id
  193 + */
  194 + public void setChannel_id(String channel_id) {
  195 + this.channel_id = channel_id;
  196 + }
  197 +
  198 + /**
  199 + * 获取spId
  200 + *
  201 + * @return sp_id - spId
  202 + */
  203 + public Integer getSp_id() {
  204 + return sp_id;
  205 + }
  206 +
  207 + /**
  208 + * 设置spId
  209 + *
  210 + * @param sp_id spId
  211 + */
  212 + public void setSp_id(Integer sp_id) {
  213 + this.sp_id = sp_id;
  214 + }
  215 +
  216 + /**
  217 + * 获取直播发起人
  218 + *
  219 + * @return sender - 直播发起人
  220 + */
  221 + public String getSender() {
  222 + return sender;
  223 + }
  224 +
  225 + /**
  226 + * 设置直播发起人
  227 + *
  228 + * @param sender 直播发起人
  229 + */
  230 + public void setSender(String sender) {
  231 + this.sender = sender;
  232 + }
  233 +
  234 + /**
  235 + * 获取联系方式
  236 + *
  237 + * @return mobile - 联系方式
  238 + */
  239 + public String getMobile() {
  240 + return mobile;
  241 + }
  242 +
  243 + /**
  244 + * 设置联系方式
  245 + *
  246 + * @param mobile 联系方式
  247 + */
  248 + public void setMobile(String mobile) {
  249 + this.mobile = mobile;
  250 + }
  251 +
  252 + /**
  253 + * 获取直播发起单位
  254 + *
  255 + * @return organization - 直播发起单位
  256 + */
  257 + public String getOrganization() {
  258 + return organization;
  259 + }
  260 +
  261 + /**
  262 + * 设置直播发起单位
  263 + *
  264 + * @param organization 直播发起单位
  265 + */
  266 + public void setOrganization(String organization) {
  267 + this.organization = organization;
  268 + }
  269 +
  270 + /**
  271 + * 获取直播主题
  272 + *
  273 + * @return theme - 直播主题
  274 + */
  275 + public String getTheme() {
  276 + return theme;
  277 + }
  278 +
  279 + /**
  280 + * 设置直播主题
  281 + *
  282 + * @param theme 直播主题
  283 + */
  284 + public void setTheme(String theme) {
  285 + this.theme = theme;
  286 + }
  287 +
  288 + /**
  289 + * 获取预计开始时间
  290 + *
  291 + * @return preStartTime - 预计开始时间
  292 + */
  293 + public Date getPreStartTime() {
  294 + return preStartTime;
  295 + }
  296 +
  297 + /**
  298 + * 设置预计开始时间
  299 + *
  300 + * @param preStartTime 预计开始时间
  301 + */
  302 + public void setPreStartTime(Date preStartTime) {
  303 + this.preStartTime = preStartTime;
  304 + }
  305 +
  306 + /**
  307 + * 获取预计结束时间
  308 + *
  309 + * @return preEndTime - 预计结束时间
  310 + */
  311 + public Date getPreEndTime() {
  312 + return preEndTime;
  313 + }
  314 +
  315 + /**
  316 + * 设置预计结束时间
  317 + *
  318 + * @param preEndTime 预计结束时间
  319 + */
  320 + public void setPreEndTime(Date preEndTime) {
  321 + this.preEndTime = preEndTime;
  322 + }
  323 +
  324 + /**
  325 + * 获取商务模式:0免费 1收费
  326 + *
  327 + * @return businessModel - 商务模式:0免费 1收费
  328 + */
  329 + public Integer getBusinessModel() {
  330 + return businessModel;
  331 + }
  332 +
  333 + /**
  334 + * 设置商务模式:0免费 1收费
  335 + *
  336 + * @param businessModel 商务模式:0免费 1收费
  337 + */
  338 + public void setBusinessModel(Integer businessModel) {
  339 + this.businessModel = businessModel;
  340 + }
  341 +
  342 + /**
  343 + * 获取内容属性:1商业类活动 0非商业活动
  344 + *
  345 + * @return contentProperty - 内容属性:1商业类活动 0非商业活动
  346 + */
  347 + public Integer getContentProperty() {
  348 + return contentProperty;
  349 + }
  350 +
  351 + /**
  352 + * 设置内容属性:1商业类活动 0非商业活动
  353 + *
  354 + * @param contentProperty 内容属性:1商业类活动 0非商业活动
  355 + */
  356 + public void setContentProperty(Integer contentProperty) {
  357 + this.contentProperty = contentProperty;
  358 + }
  359 +
  360 + /**
  361 + * 获取要点报备:0品牌植入 1广告植入 2商品推销 3网家家独家麦标
  362 + *
  363 + * @return keys - 要点报备:0品牌植入 1广告植入 2商品推销 3网家家独家麦标
  364 + */
  365 + public String getKeys() {
  366 + return keys;
  367 + }
  368 +
  369 + /**
  370 + * 设置要点报备:0品牌植入 1广告植入 2商品推销 3网家家独家麦标
  371 + *
  372 + * @param keys 要点报备:0品牌植入 1广告植入 2商品推销 3网家家独家麦标
  373 + */
  374 + public void setKeys(String keys) {
  375 + this.keys = keys;
  376 + }
  377 +
  378 + /**
  379 + * 获取直播地点
  380 + *
  381 + * @return livePlace - 直播地点
  382 + */
  383 + public String getLivePlace() {
  384 + return livePlace;
  385 + }
  386 +
  387 + /**
  388 + * 设置直播地点
  389 + *
  390 + * @param livePlace 直播地点
  391 + */
  392 + public void setLivePlace(String livePlace) {
  393 + this.livePlace = livePlace;
  394 + }
  395 +
  396 + /**
  397 + * 获取推流地址
  398 + *
  399 + * @return pushUrl - 推流地址
  400 + */
  401 + public String getPushUrl() {
  402 + return pushUrl;
  403 + }
  404 +
  405 + /**
  406 + * 设置推流地址
  407 + *
  408 + * @param pushUrl 推流地址
  409 + */
  410 + public void setPushUrl(String pushUrl) {
  411 + this.pushUrl = pushUrl;
  412 + }
  413 +
  414 + /**
  415 + * 获取拉流地址
  416 + *
  417 + * @return pullUrl - 拉流地址
  418 + */
  419 + public String getPullUrl() {
  420 + return pullUrl;
  421 + }
  422 +
  423 + /**
  424 + * 设置拉流地址
  425 + *
  426 + * @param pullUrl 拉流地址
  427 + */
  428 + public void setPullUrl(String pullUrl) {
  429 + this.pullUrl = pullUrl;
  430 + }
  431 +
  432 + /**
  433 + * 获取播出平台及通道:0网家家 1CNLive网站 2@TV互动电视
  434 + *
  435 + * @return platforms - 播出平台及通道:0网家家 1CNLive网站 2@TV互动电视
  436 + */
  437 + public String getPlatforms() {
  438 + return platforms;
  439 + }
  440 +
  441 + /**
  442 + * 设置播出平台及通道:0网家家 1CNLive网站 2@TV互动电视
  443 + *
  444 + * @param platforms 播出平台及通道:0网家家 1CNLive网站 2@TV互动电视
  445 + */
  446 + public void setPlatforms(String platforms) {
  447 + this.platforms = platforms;
  448 + }
  449 +
  450 + /**
  451 + * 获取回调地址
  452 + *
  453 + * @return callback - 回调地址
  454 + */
  455 + public String getCallback() {
  456 + return callback;
  457 + }
  458 +
  459 + /**
  460 + * 设置回调地址
  461 + *
  462 + * @param callback 回调地址
  463 + */
  464 + public void setCallback(String callback) {
  465 + this.callback = callback;
  466 + }
  467 +
  468 + /**
  469 + * 获取审核类型,1:免审,2:机审,3:人工审
  470 + *
  471 + * @return shenhe_type - 审核类型,1:免审,2:机审,3:人工审
  472 + */
  473 + public Integer getShenhe_type() {
  474 + return shenhe_type;
  475 + }
  476 +
  477 + /**
  478 + * 设置审核类型,1:免审,2:机审,3:人工审
  479 + *
  480 + * @param shenhe_type 审核类型,1:免审,2:机审,3:人工审
  481 + */
  482 + public void setShenhe_type(Integer shenhe_type) {
  483 + this.shenhe_type = shenhe_type;
  484 + }
  485 +
  486 + /**
  487 + * 获取领取状态。0:未领取;1:已领取
  488 + *
  489 + * @return receive - 领取状态。0:未领取;1:已领取
  490 + */
  491 + public Integer getReceive() {
  492 + return receive;
  493 + }
  494 +
  495 + /**
  496 + * 设置领取状态。0:未领取;1:已领取
  497 + *
  498 + * @param receive 领取状态。0:未领取;1:已领取
  499 + */
  500 + public void setReceive(Integer receive) {
  501 + this.receive = receive;
  502 + }
  503 +
  504 + /**
  505 + * 获取审核状态:0.未审核,1:已审核,2.拒绝
  506 + *
  507 + * @return shenhe_state - 审核状态:0.未审核,1:已审核,2.拒绝
  508 + */
  509 + public Integer getShenhe_state() {
  510 + return shenhe_state;
  511 + }
  512 +
  513 + /**
  514 + * 设置审核状态:0.未审核,1:已审核,2.拒绝
  515 + *
  516 + * @param shenhe_state 审核状态:0.未审核,1:已审核,2.拒绝
  517 + */
  518 + public void setShenhe_state(Integer shenhe_state) {
  519 + this.shenhe_state = shenhe_state;
  520 + }
  521 +
  522 + /**
  523 + * 获取更新者
  524 + *
  525 + * @return updater - 更新者
  526 + */
  527 + public String getUpdater() {
  528 + return updater;
  529 + }
  530 +
  531 + /**
  532 + * 设置更新者
  533 + *
  534 + * @param updater 更新者
  535 + */
  536 + public void setUpdater(String updater) {
  537 + this.updater = updater;
  538 + }
  539 +
  540 + /**
  541 + * 获取审核员
  542 + *
  543 + * @return auditor - 审核员
  544 + */
  545 + public String getAuditor() {
  546 + return auditor;
  547 + }
  548 +
  549 + /**
  550 + * 设置审核员
  551 + *
  552 + * @param auditor 审核员
  553 + */
  554 + public void setAuditor(String auditor) {
  555 + this.auditor = auditor;
  556 + }
  557 +
  558 + /**
  559 + * 获取审核信息
  560 + *
  561 + * @return shenhe_msg - 审核信息
  562 + */
  563 + public String getShenhe_msg() {
  564 + return shenhe_msg;
  565 + }
  566 +
  567 + /**
  568 + * 设置审核信息
  569 + *
  570 + * @param shenhe_msg 审核信息
  571 + */
  572 + public void setShenhe_msg(String shenhe_msg) {
  573 + this.shenhe_msg = shenhe_msg;
  574 + }
  575 +
  576 + /**
  577 + * 获取创建时间
  578 + *
  579 + * @return created_at - 创建时间
  580 + */
  581 + public Date getCreated_at() {
  582 + return created_at;
  583 + }
  584 +
  585 + /**
  586 + * 设置创建时间
  587 + *
  588 + * @param created_at 创建时间
  589 + */
  590 + public void setCreated_at(Date created_at) {
  591 + this.created_at = created_at;
  592 + }
  593 +
  594 + /**
  595 + * 获取更新时间
  596 + *
  597 + * @return updated_at - 更新时间
  598 + */
  599 + public Date getUpdated_at() {
  600 + return updated_at;
  601 + }
  602 +
  603 + /**
  604 + * 设置更新时间
  605 + *
  606 + * @param updated_at 更新时间
  607 + */
  608 + public void setUpdated_at(Date updated_at) {
  609 + this.updated_at = updated_at;
  610 + }
  611 +
  612 + /**
  613 + * 获取内容简述
  614 + *
  615 + * @return simpleContent - 内容简述
  616 + */
  617 + public String getSimpleContent() {
  618 + return simpleContent;
  619 + }
  620 +
  621 + /**
  622 + * 设置内容简述
  623 + *
  624 + * @param simpleContent 内容简述
  625 + */
  626 + public void setSimpleContent(String simpleContent) {
  627 + this.simpleContent = simpleContent;
  628 + }
  629 +}
0 \ No newline at end of file 630 \ No newline at end of file
src/main/java/com/cnlive/shenhe/mapper/ShyLiveapplyMapper.java 0 → 100644
  1 +package com.cnlive.shenhe.mapper;
  2 +
  3 +import com.cnlive.shenhe.entity.ShyLiveapply;
  4 +import tk.mybatis.mapper.common.Mapper;
  5 +
  6 +public interface ShyLiveapplyMapper extends Mapper<ShyLiveapply> {
  7 +}
0 \ No newline at end of file 8 \ No newline at end of file
src/main/resources/mapper/ShyContentMapper.xml
@@ -11,7 +11,6 @@ @@ -11,7 +11,6 @@
11 <result column="title_image" jdbcType="VARCHAR" property="title_image" /> 11 <result column="title_image" jdbcType="VARCHAR" property="title_image" />
12 <result column="content_tag" jdbcType="VARCHAR" property="content_tag" /> 12 <result column="content_tag" jdbcType="VARCHAR" property="content_tag" />
13 <result column="content_url" jdbcType="VARCHAR" property="content_url" /> 13 <result column="content_url" jdbcType="VARCHAR" property="content_url" />
14 - <result column="content_pc_url" jdbcType="VARCHAR" property="content_pc_url" />  
15 <result column="shenhe_type" jdbcType="INTEGER" property="shenhe_type" /> 14 <result column="shenhe_type" jdbcType="INTEGER" property="shenhe_type" />
16 <result column="content_status" jdbcType="INTEGER" property="content_status" /> 15 <result column="content_status" jdbcType="INTEGER" property="content_status" />
17 <result column="callback" jdbcType="VARCHAR" property="callback" /> 16 <result column="callback" jdbcType="VARCHAR" property="callback" />
@@ -26,6 +25,7 @@ @@ -26,6 +25,7 @@
26 <result column="updater" jdbcType="VARCHAR" property="updater" /> 25 <result column="updater" jdbcType="VARCHAR" property="updater" />
27 <result column="shenhe_msg" jdbcType="VARCHAR" property="shenhe_msg" /> 26 <result column="shenhe_msg" jdbcType="VARCHAR" property="shenhe_msg" />
28 <result column="title" jdbcType="LONGVARCHAR" property="title" /> 27 <result column="title" jdbcType="LONGVARCHAR" property="title" />
  28 + <result column="content_pc_url" jdbcType="LONGVARCHAR" property="content_pc_url" />
29 <result column="content_text" jdbcType="LONGVARCHAR" property="content_text" /> 29 <result column="content_text" jdbcType="LONGVARCHAR" property="content_text" />
30 </resultMap> 30 </resultMap>
31 </mapper> 31 </mapper>
32 \ No newline at end of file 32 \ No newline at end of file
src/main/resources/mapper/ShyLiveapplyMapper.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.cnlive.shenhe.mapper.ShyLiveapplyMapper">
  4 + <resultMap id="BaseResultMap" type="com.cnlive.shenhe.entity.ShyLiveapply">
  5 + <!--
  6 + WARNING - @mbg.generated
  7 + -->
  8 + <id column="id" jdbcType="INTEGER" property="id" />
  9 + <result column="activity_id" jdbcType="VARCHAR" property="activity_id" />
  10 + <result column="channel_id" jdbcType="VARCHAR" property="channel_id" />
  11 + <result column="sp_id" jdbcType="INTEGER" property="sp_id" />
  12 + <result column="sender" jdbcType="VARCHAR" property="sender" />
  13 + <result column="mobile" jdbcType="VARCHAR" property="mobile" />
  14 + <result column="organization" jdbcType="VARCHAR" property="organization" />
  15 + <result column="theme" jdbcType="VARCHAR" property="theme" />
  16 + <result column="preStartTime" jdbcType="TIMESTAMP" property="preStartTime" />
  17 + <result column="preEndTime" jdbcType="TIMESTAMP" property="preEndTime" />
  18 + <result column="businessModel" jdbcType="INTEGER" property="businessModel" />
  19 + <result column="contentProperty" jdbcType="INTEGER" property="contentProperty" />
  20 + <result column="keys" jdbcType="VARCHAR" property="keys" />
  21 + <result column="livePlace" jdbcType="VARCHAR" property="livePlace" />
  22 + <result column="pushUrl" jdbcType="VARCHAR" property="pushUrl" />
  23 + <result column="pullUrl" jdbcType="VARCHAR" property="pullUrl" />
  24 + <result column="platforms" jdbcType="VARCHAR" property="platforms" />
  25 + <result column="callback" jdbcType="VARCHAR" property="callback" />
  26 + <result column="shenhe_type" jdbcType="INTEGER" property="shenhe_type" />
  27 + <result column="receive" jdbcType="INTEGER" property="receive" />
  28 + <result column="shenhe_state" jdbcType="INTEGER" property="shenhe_state" />
  29 + <result column="updater" jdbcType="VARCHAR" property="updater" />
  30 + <result column="auditor" jdbcType="VARCHAR" property="auditor" />
  31 + <result column="shenhe_msg" jdbcType="VARCHAR" property="shenhe_msg" />
  32 + <result column="created_at" jdbcType="TIMESTAMP" property="created_at" />
  33 + <result column="updated_at" jdbcType="TIMESTAMP" property="updated_at" />
  34 + <result column="simpleContent" jdbcType="LONGVARCHAR" property="simpleContent" />
  35 + </resultMap>
  36 +</mapper>
0 \ No newline at end of file 37 \ No newline at end of file