更多成品,定做java毕业设计,请咨询管理员qq:2812491287

基于ssm的影迷互动的网络平台设计与实现

基于ssm的影迷互动的网络平台设计与实现登录注册界面

基于ssm的影迷互动的网络平台设计与实现mysql数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

表创建语句如下:


create table t_click(
	id int primary key auto_increment comment '主键',
	fId int comment '电影',
	cId int comment '点击人',
	insertDate datetime comment '入库日期'
) comment '';

客户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	mobile varchar(100) comment '手机'
) comment '客户';

个人喜好表创建语句如下:


create table t_customer_like(
	id int primary key auto_increment comment '主键',
	typeName varchar(100) comment '分类',
	cId int comment '客户外键'
) comment '个人喜好';

电影表创建语句如下:


create table t_film(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '电影名',
	v2 varchar(100) comment '演员',
	v3 varchar(100) comment '导演',
	v4 varchar(100) comment '类型',
	v5 varchar(100) comment '年代',
	v6 varchar(100) comment '地区',
	v7 varchar(100) comment '介绍',
	v8 varchar(100) comment '图片',
	clickNum int comment '点击量'
) comment '电影';

表创建语句如下:


create table t_gyzn(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '电影名',
	v2 varchar(100) comment '演员',
	v3 varchar(100) comment '导演',
	v4 varchar(100) comment '类型',
	v5 varchar(100) comment '年代',
	v6 varchar(100) comment '地区',
	v7 varchar(100) comment '介绍',
	v8 varchar(100) comment '图片',
	clickNum int comment '点击量'
) comment '';

评论表创建语句如下:


create table t_pinglun(
	id int primary key auto_increment comment '主键',
	filmId int comment '电影',
	content varchar(100) comment '评论'
) comment '评论';

表创建语句如下:


create table t_types(
	id int primary key auto_increment comment '主键',
	types varchar(100) comment '分类名称'
) comment '';

新闻表创建语句如下:


create table t_xw(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容'
) comment '新闻';

影集表创建语句如下:


create table t_yj(
	id int primary key auto_increment comment '主键',
	pic varchar(100) comment '图片'
) comment '影集';

基于ssm的影迷互动的网络平台设计与实现oracle数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

表创建语句如下:


create table t_click(
	id integer,
	fId int,
	cId int,
	insertDate datetime
);
--字段加注释
comment on column t_click.id is '主键';
comment on column t_click.fId is '电影';
comment on column t_click.cId is '点击人';
comment on column t_click.insertDate is '入库日期';
--表加注释
comment on table t_click is '';

客户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	mobile varchar(100)
);
--客户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.name is '姓名';
comment on column t_customer.mobile is '手机';
--客户表加注释
comment on table t_customer is '客户';

个人喜好表创建语句如下:


create table t_customer_like(
	id integer,
	typeName varchar(100),
	cId int
);
--个人喜好字段加注释
comment on column t_customer_like.id is '主键';
comment on column t_customer_like.typeName is '分类';
comment on column t_customer_like.cId is '客户外键';
--个人喜好表加注释
comment on table t_customer_like is '个人喜好';

电影表创建语句如下:


create table t_film(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 varchar(100),
	clickNum int
);
--电影字段加注释
comment on column t_film.id is '主键';
comment on column t_film.v1 is '电影名';
comment on column t_film.v2 is '演员';
comment on column t_film.v3 is '导演';
comment on column t_film.v4 is '类型';
comment on column t_film.v5 is '年代';
comment on column t_film.v6 is '地区';
comment on column t_film.v7 is '介绍';
comment on column t_film.v8 is '图片';
comment on column t_film.clickNum is '点击量';
--电影表加注释
comment on table t_film is '电影';

表创建语句如下:


create table t_gyzn(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 varchar(100),
	clickNum int
);
--字段加注释
comment on column t_gyzn.id is '主键';
comment on column t_gyzn.v1 is '电影名';
comment on column t_gyzn.v2 is '演员';
comment on column t_gyzn.v3 is '导演';
comment on column t_gyzn.v4 is '类型';
comment on column t_gyzn.v5 is '年代';
comment on column t_gyzn.v6 is '地区';
comment on column t_gyzn.v7 is '介绍';
comment on column t_gyzn.v8 is '图片';
comment on column t_gyzn.clickNum is '点击量';
--表加注释
comment on table t_gyzn is '';

评论表创建语句如下:


create table t_pinglun(
	id integer,
	filmId int,
	content varchar(100)
);
--评论字段加注释
comment on column t_pinglun.id is '主键';
comment on column t_pinglun.filmId is '电影';
comment on column t_pinglun.content is '评论';
--评论表加注释
comment on table t_pinglun is '评论';

表创建语句如下:


create table t_types(
	id integer,
	types varchar(100)
);
--字段加注释
comment on column t_types.id is '主键';
comment on column t_types.types is '分类名称';
--表加注释
comment on table t_types is '';

新闻表创建语句如下:


create table t_xw(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100)
);
--新闻字段加注释
comment on column t_xw.id is '主键';
comment on column t_xw.title is '标题';
comment on column t_xw.pic is '图片';
comment on column t_xw.content is '内容';
--新闻表加注释
comment on table t_xw is '新闻';

影集表创建语句如下:


create table t_yj(
	id integer,
	pic varchar(100)
);
--影集字段加注释
comment on column t_yj.id is '主键';
comment on column t_yj.pic is '图片';
--影集表加注释
comment on table t_yj is '影集';

oracle特有,对应序列如下:


create sequence s_t_click;
create sequence s_t_customer;
create sequence s_t_customer_like;
create sequence s_t_film;
create sequence s_t_gyzn;
create sequence s_t_pinglun;
create sequence s_t_types;
create sequence s_t_xw;
create sequence s_t_yj;

基于ssm的影迷互动的网络平台设计与实现sqlserver数据库版本源码:

超级管理员表创建语句如下:


--超级管理员
create table t_admin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--超级管理员账号
	password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

表创建语句如下:


--表注释
create table t_click(
	id int identity(1,1) primary key not null,--主键
	fId int,--电影
	cId int,--点击人
	insertDate datetime--入库日期
);

客户表创建语句如下:


--客户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	mobile varchar(100)--手机
);

个人喜好表创建语句如下:


--个人喜好表注释
create table t_customer_like(
	id int identity(1,1) primary key not null,--主键
	typeName varchar(100),--分类
	cId int--客户外键
);

电影表创建语句如下:


--电影表注释
create table t_film(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--电影名
	v2 varchar(100),--演员
	v3 varchar(100),--导演
	v4 varchar(100),--类型
	v5 varchar(100),--年代
	v6 varchar(100),--地区
	v7 varchar(100),--介绍
	v8 varchar(100),--图片
	clickNum int--点击量
);

表创建语句如下:


--表注释
create table t_gyzn(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--电影名
	v2 varchar(100),--演员
	v3 varchar(100),--导演
	v4 varchar(100),--类型
	v5 varchar(100),--年代
	v6 varchar(100),--地区
	v7 varchar(100),--介绍
	v8 varchar(100),--图片
	clickNum int--点击量
);

评论表创建语句如下:


--评论表注释
create table t_pinglun(
	id int identity(1,1) primary key not null,--主键
	filmId int,--电影
	content varchar(100)--评论
);

表创建语句如下:


--表注释
create table t_types(
	id int identity(1,1) primary key not null,--主键
	types varchar(100)--分类名称
);

新闻表创建语句如下:


--新闻表注释
create table t_xw(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100)--内容
);

影集表创建语句如下:


--影集表注释
create table t_yj(
	id int identity(1,1) primary key not null,--主键
	pic varchar(100)--图片
);

基于ssm的影迷互动的网络平台设计与实现登录后主页

基于ssm的影迷互动的网络平台设计与实现spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//
@Table(name = "t_click")
public class Click {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//电影
private Integer fId;
//点击人
private Integer cId;
//入库日期
private Date insertDate;
public Integer getFId() {return fId;}
public void setFId(Integer fId) {this.fId = fId;}
public Integer getCId() {return cId;}
public void setCId(Integer cId) {this.cId = cId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

客户javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//客户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//手机
private String mobile;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

个人喜好javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//个人喜好
@Table(name = "t_customer_like")
public class Customer_like {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类
private String typeName;
//客户外键
private Integer cId;
public String getTypeName() {return typeName;}
public void setTypeName(String typeName) {this.typeName = typeName;}
public Integer getCId() {return cId;}
public void setCId(Integer cId) {this.cId = cId;}
}

电影javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//电影
@Table(name = "t_film")
public class Film {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//电影名
private String v1;
//演员
private String v2;
//导演
private String v3;
//类型
private String v4;
//年代
private String v5;
//地区
private String v6;
//介绍
private String v7;
//图片
private String v8;
//点击量
private Integer clickNum;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public Integer getClickNum() {return clickNum;}
public void setClickNum(Integer clickNum) {this.clickNum = clickNum;}
}

javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//
@Table(name = "t_gyzn")
public class Gyzn {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//电影名
private String v1;
//演员
private String v2;
//导演
private String v3;
//类型
private String v4;
//年代
private String v5;
//地区
private String v6;
//介绍
private String v7;
//图片
private String v8;
//点击量
private Integer clickNum;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public Integer getClickNum() {return clickNum;}
public void setClickNum(Integer clickNum) {this.clickNum = clickNum;}
}

评论javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//评论
@Table(name = "t_pinglun")
public class Pinglun {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//电影
private Integer filmId;
//评论
private String content;
public Integer getFilmId() {return filmId;}
public void setFilmId(Integer filmId) {this.filmId = filmId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//
@Table(name = "t_types")
public class Types {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类名称
private String types;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

新闻javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//新闻
@Table(name = "t_xw")
public class Xw {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

影集javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//影集
@Table(name = "t_yj")
public class Yj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//图片
private String pic;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

基于ssm的影迷互动的网络平台设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//
public class Click  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//电影
private Integer fId;
//点击人
private Integer cId;
//入库日期
private Date insertDate;
public Integer getFId() {return fId;}
public void setFId(Integer fId) {this.fId = fId;}
public Integer getCId() {return cId;}
public void setCId(Integer cId) {this.cId = cId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

客户javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//客户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//手机
private String mobile;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

个人喜好javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//个人喜好
public class Customer_like  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类
private String typeName;
//客户外键
private Integer cId;
public String getTypeName() {return typeName;}
public void setTypeName(String typeName) {this.typeName = typeName;}
public Integer getCId() {return cId;}
public void setCId(Integer cId) {this.cId = cId;}
}

电影javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//电影
public class Film  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//电影名
private String v1;
//演员
private String v2;
//导演
private String v3;
//类型
private String v4;
//年代
private String v5;
//地区
private String v6;
//介绍
private String v7;
//图片
private String v8;
//点击量
private Integer clickNum;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public Integer getClickNum() {return clickNum;}
public void setClickNum(Integer clickNum) {this.clickNum = clickNum;}
}

javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//
public class Gyzn  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//电影名
private String v1;
//演员
private String v2;
//导演
private String v3;
//类型
private String v4;
//年代
private String v5;
//地区
private String v6;
//介绍
private String v7;
//图片
private String v8;
//点击量
private Integer clickNum;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public Integer getClickNum() {return clickNum;}
public void setClickNum(Integer clickNum) {this.clickNum = clickNum;}
}

评论javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//评论
public class Pinglun  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//电影
private Integer filmId;
//评论
private String content;
public Integer getFilmId() {return filmId;}
public void setFilmId(Integer filmId) {this.filmId = filmId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//
public class Types  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类名称
private String types;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

新闻javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//新闻
public class Xw  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

影集javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//影集
public class Yj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//图片
private String pic;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

评论