|
|
@@ -12,82 +12,94 @@ public class JtVideo {
|
|
|
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.id
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
- @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
+ @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
|
|
|
+ + "}")
|
|
|
private String id;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.name
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
- @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
+ @Size(min = 0, max = 16, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
|
|
|
+ + "}")
|
|
|
private String name;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.url
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
- @Size(min = 0, max = 64, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
+ @Size(min = 0, max = 64, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
|
|
|
+ + "}")
|
|
|
private String url;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.type
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
private Integer type;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.owner
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
- @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
+ @Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
|
|
|
+ + "}")
|
|
|
private String owner;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.create_time
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
private Date createTime;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.status
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
@Max(value = 3, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
private Integer status;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.summary
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
- @Size(min = 0, max = 512, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
+ @Size(min = 0, max = 512, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
|
|
|
+ + "}")
|
|
|
private String summary;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.cover_url
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
- @Size(min = 0, max = 64, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
+ @Size(min = 0, max = 64, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
|
|
|
+ + "}")
|
|
|
private String coverUrl;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.release_time
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
private Date releaseTime;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.transcoding
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
@Max(value = 2, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
@Min(value = 0, message = "{" + ErrorConstants.PARAM_ERROR + "}")
|
|
|
private Integer transcoding;
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.md5
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
- @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
|
|
|
+ @Size(min = 0, max = 32, message = "{" + ErrorConstants.PARAM_SIZE_ERROR
|
|
|
+ + "}")
|
|
|
private String md5;
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator. This field corresponds to the database column jt_video.position
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
+ */
|
|
|
+ private Integer position;
|
|
|
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.id
|
|
|
* @return the value of jt_video.id
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public String getId() {
|
|
|
return id;
|
|
|
@@ -96,7 +108,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.id
|
|
|
* @param id the value for jt_video.id
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setId(String id) {
|
|
|
this.id = id;
|
|
|
@@ -105,7 +117,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.name
|
|
|
* @return the value of jt_video.name
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
@@ -114,7 +126,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.name
|
|
|
* @param name the value for jt_video.name
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
@@ -123,7 +135,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.url
|
|
|
* @return the value of jt_video.url
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public String getUrl() {
|
|
|
return url;
|
|
|
@@ -132,7 +144,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.url
|
|
|
* @param url the value for jt_video.url
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setUrl(String url) {
|
|
|
this.url = url;
|
|
|
@@ -141,7 +153,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.type
|
|
|
* @return the value of jt_video.type
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public Integer getType() {
|
|
|
return type;
|
|
|
@@ -150,7 +162,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.type
|
|
|
* @param type the value for jt_video.type
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setType(Integer type) {
|
|
|
this.type = type;
|
|
|
@@ -159,7 +171,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.owner
|
|
|
* @return the value of jt_video.owner
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public String getOwner() {
|
|
|
return owner;
|
|
|
@@ -168,7 +180,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.owner
|
|
|
* @param owner the value for jt_video.owner
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setOwner(String owner) {
|
|
|
this.owner = owner;
|
|
|
@@ -177,7 +189,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.create_time
|
|
|
* @return the value of jt_video.create_time
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public Date getCreateTime() {
|
|
|
return createTime;
|
|
|
@@ -186,7 +198,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.create_time
|
|
|
* @param createTime the value for jt_video.create_time
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
this.createTime = createTime;
|
|
|
@@ -195,7 +207,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.status
|
|
|
* @return the value of jt_video.status
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public Integer getStatus() {
|
|
|
return status;
|
|
|
@@ -204,7 +216,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.status
|
|
|
* @param status the value for jt_video.status
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setStatus(Integer status) {
|
|
|
this.status = status;
|
|
|
@@ -213,7 +225,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.summary
|
|
|
* @return the value of jt_video.summary
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public String getSummary() {
|
|
|
return summary;
|
|
|
@@ -222,7 +234,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.summary
|
|
|
* @param summary the value for jt_video.summary
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setSummary(String summary) {
|
|
|
this.summary = summary;
|
|
|
@@ -231,7 +243,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.cover_url
|
|
|
* @return the value of jt_video.cover_url
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public String getCoverUrl() {
|
|
|
return coverUrl;
|
|
|
@@ -240,7 +252,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.cover_url
|
|
|
* @param coverUrl the value for jt_video.cover_url
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setCoverUrl(String coverUrl) {
|
|
|
this.coverUrl = coverUrl;
|
|
|
@@ -249,7 +261,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.release_time
|
|
|
* @return the value of jt_video.release_time
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public Date getReleaseTime() {
|
|
|
return releaseTime;
|
|
|
@@ -258,7 +270,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.release_time
|
|
|
* @param releaseTime the value for jt_video.release_time
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setReleaseTime(Date releaseTime) {
|
|
|
this.releaseTime = releaseTime;
|
|
|
@@ -267,7 +279,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.transcoding
|
|
|
* @return the value of jt_video.transcoding
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public Integer getTranscoding() {
|
|
|
return transcoding;
|
|
|
@@ -276,7 +288,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.transcoding
|
|
|
* @param transcoding the value for jt_video.transcoding
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setTranscoding(Integer transcoding) {
|
|
|
this.transcoding = transcoding;
|
|
|
@@ -285,7 +297,7 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.md5
|
|
|
* @return the value of jt_video.md5
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public String getMd5() {
|
|
|
return md5;
|
|
|
@@ -294,9 +306,27 @@ public class JtVideo {
|
|
|
/**
|
|
|
* This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.md5
|
|
|
* @param md5 the value for jt_video.md5
|
|
|
- * @mbggenerated Tue Oct 30 20:16:39 CST 2018
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
*/
|
|
|
public void setMd5(String md5) {
|
|
|
this.md5 = md5;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator. This method returns the value of the database column jt_video.position
|
|
|
+ * @return the value of jt_video.position
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
+ */
|
|
|
+ public Integer getPosition() {
|
|
|
+ return position;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator. This method sets the value of the database column jt_video.position
|
|
|
+ * @param position the value for jt_video.position
|
|
|
+ * @mbggenerated Fri Nov 02 16:14:39 CST 2018
|
|
|
+ */
|
|
|
+ public void setPosition(Integer position) {
|
|
|
+ this.position = position;
|
|
|
+ }
|
|
|
}
|