update content

main
JH 10 months ago
parent b0f8f53bb8
commit ba9c167a7c

@ -0,0 +1,14 @@
package com.luoo.music.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import com.luoo.music.pojo.Column;
/**
* 访
* @author Administrator
*
*/
public interface ColumnDao extends JpaRepository<Column,String>,JpaSpecificationExecutor<Column>{
}

@ -0,0 +1,80 @@
package com.luoo.music.pojo;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
*
* @author Administrator
*
*/
@Entity
@Table(name="tb_column")
public class Column implements Serializable{
@Id
private String id;//ID
private String name;//专栏名称
private String summary;//专栏简介
private String userid;//用户ID
private java.util.Date createtime;//申请日期
private java.util.Date checktime;//审核日期
private String state;//状态
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public String getUserid() {
return userid;
}
public void setUserid(String userid) {
this.userid = userid;
}
public java.util.Date getCreatetime() {
return createtime;
}
public void setCreatetime(java.util.Date createtime) {
this.createtime = createtime;
}
public java.util.Date getChecktime() {
return checktime;
}
public void setChecktime(java.util.Date checktime) {
this.checktime = checktime;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
}
Loading…
Cancel
Save