Java项目:113 springboot校园失物招领系统.

作者主页:源码空间codegym

简介:Java领域优质创作者、Java项目、学习资料、技术互助

文中获取源码

项目介绍

本系统有管理员,用户

管理员在后台可以全面管理系统,管理员的功能主要包括用户管理、失物招领管理、宣传视频管理和物件挂失管理、论坛管理、公告管理等。

用户在没有注册之前,进入网站,用户的主要功能包括查看网站首页、论坛、公告信息、失物招领信息和失物挂失信息,用户在注册登录后进入网站,用户的主要功能包括失物招领申请、发布挂失信息、我的留言信息、个人信息管理、我的回复和评论。

环境要求

1.运行环境:最好是java jdk1.8,我们在这个平台上运行的。其他版本理论上也可以。

2.IDE环境:IDEA,Eclipse,Myeclipse都可以。推荐IDEA;

3.tomcat环境:Tomcat7.x,8.X,9.x版本均可

4.硬件环境:windows7/8/10 4G内存以上;或者Mac OS;

5.是否Maven项目:是;查看源码目录中是否包含pom.xml;若包含,则为maven项目,否则为非maven.项目

6.数据库:MySql5.7/8.0等版本均可;

技术栈

运行环境:jdk8 + tomcat9 + mysql5.7 + windows10

服务端技术:SpringBoot + MyBatis + Vue + Bootstrap + jQuery

使用说明

1.使用Navicati或者其它工具,在mysql中创建对应sq文件名称的数据库,并导入项目的sql文件;

2.使用IDEA/Eclipse/MyEclipse导入项目,修改配置,运行项目;

3.将项目中config-propertiesi配置文件中的数据库配置改为自己的配置,然后运行;

运行指导

idea导入源码空间站顶目教程说明(Vindows版)-ssm篇:

http://mtw.so/5MHvZq

源码地址:http://codegym.top

运行截图

前台

springboot147校园失物招领系统14

springboot147校园失物招领系统18

springboot147校园失物招领系统12

后台

springboot147校园失物招领系统11

springboot147校园失物招领系统13

springboot147校园失物招领系统15

springboot147校园失物招领系统17

代码

package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 车次信息
 *
 * @author 
 * @email
 */
@TableName("checi")
public class CheciEntity<T> implements Serializable {
    private static final long serialVersionUID = 1L;


	public CheciEntity() {

	}

	public CheciEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}


    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")

    private Integer id;


    /**
     * 车次标题
     */
    @TableField(value = "checi_name")

    private String checiName;


    /**
     * 火车照片
     */
    @TableField(value = "checi_photo")

    private String checiPhoto;


    /**
     * 火车类型
     */
    @TableField(value = "checi_types")

    private Integer checiTypes;


    /**
     * 现价
     */
    @TableField(value = "checi_new_money")

    private Double checiNewMoney;


    /**
     * 出发地
     */
    @TableField(value = "checi_chufadi")

    private String checiChufadi;


    /**
     * 目的地
     */
    @TableField(value = "checi_mudidi")

    private String checiMudidi;


    /**
     * 出发时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
    @TableField(value = "checi_time")

    private Date checiTime;


    /**
     * 车厢
     */
    @TableField(value = "section_number")

    private Integer sectionNumber;


    /**
     * 座位
     */
    @TableField(value = "zuowei_number")

    private Integer zuoweiNumber;


    /**
     * 是否上架
     */
    @TableField(value = "shangxia_types")

    private Integer shangxiaTypes;


    /**
     * 逻辑删除
     */
    @TableField(value = "checi_delete")

    private Integer checiDelete;


    /**
     * 经停站、到达时间详情
     */
    @TableField(value = "checi_content")

    private String checiContent;


    /**
     * 创建时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
    @TableField(value = "create_time",fill = FieldFill.INSERT)

    private Date createTime;


    /**
	 * 设置:主键
	 */
    public Integer getId() {
        return id;
    }
    /**
	 * 获取:主键
	 */

    public void setId(Integer id) {
        this.id = id;
    }
    /**
	 * 设置:车次标题
	 */
    public String getCheciName() {
        return checiName;
    }
    /**
	 * 获取:车次标题
	 */

    public void setCheciName(String checiName) {
        this.checiName = checiName;
    }
    /**
	 * 设置:火车照片
	 */
    public String getCheciPhoto() {
        return checiPhoto;
    }
    /**
	 * 获取:火车照片
	 */

    public void setCheciPhoto(String checiPhoto) {
        this.checiPhoto = checiPhoto;
    }
    /**
	 * 设置:火车类型
	 */
    public Integer getCheciTypes() {
        return checiTypes;
    }
    /**
	 * 获取:火车类型
	 */

    public void setCheciTypes(Integer checiTypes) {
        this.checiTypes = checiTypes;
    }
    /**
	 * 设置:现价
	 */
    public Double getCheciNewMoney() {
        return checiNewMoney;
    }
    /**
	 * 获取:现价
	 */

    public void setCheciNewMoney(Double checiNewMoney) {
        this.checiNewMoney = checiNewMoney;
    }
    /**
	 * 设置:出发地
	 */
    public String getCheciChufadi() {
        return checiChufadi;
    }
    /**
	 * 获取:出发地
	 */

    public void setCheciChufadi(String checiChufadi) {
        this.checiChufadi = checiChufadi;
    }
    /**
	 * 设置:目的地
	 */
    public String getCheciMudidi() {
        return checiMudidi;
    }
    /**
	 * 获取:目的地
	 */

    public void setCheciMudidi(String checiMudidi) {
        this.checiMudidi = checiMudidi;
    }
    /**
	 * 设置:出发时间
	 */
    public Date getCheciTime() {
        return checiTime;
    }
    /**
	 * 获取:出发时间
	 */

    public void setCheciTime(Date checiTime) {
        this.checiTime = checiTime;
    }
    /**
	 * 设置:车厢
	 */
    public Integer getSectionNumber() {
        return sectionNumber;
    }
    /**
	 * 获取:车厢
	 */

    public void setSectionNumber(Integer sectionNumber) {
        this.sectionNumber = sectionNumber;
    }
    /**
	 * 设置:座位
	 */
    public Integer getZuoweiNumber() {
        return zuoweiNumber;
    }
    /**
	 * 获取:座位
	 */

    public void setZuoweiNumber(Integer zuoweiNumber) {
        this.zuoweiNumber = zuoweiNumber;
    }
    /**
	 * 设置:是否上架
	 */
    public Integer getShangxiaTypes() {
        return shangxiaTypes;
    }
    /**
	 * 获取:是否上架
	 */

    public void setShangxiaTypes(Integer shangxiaTypes) {
        this.shangxiaTypes = shangxiaTypes;
    }
    /**
	 * 设置:逻辑删除
	 */
    public Integer getCheciDelete() {
        return checiDelete;
    }
    /**
	 * 获取:逻辑删除
	 */

    public void setCheciDelete(Integer checiDelete) {
        this.checiDelete = checiDelete;
    }
    /**
	 * 设置:经停站、到达时间详情
	 */
    public String getCheciContent() {
        return checiContent;
    }
    /**
	 * 获取:经停站、到达时间详情
	 */

    public void setCheciContent(String checiContent) {
        this.checiContent = checiContent;
    }
    /**
	 * 设置:创建时间
	 */
    public Date getCreateTime() {
        return createTime;
    }
    /**
	 * 获取:创建时间
	 */

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Checi{" +
            "id=" + id +
            ", checiName=" + checiName +
            ", checiPhoto=" + checiPhoto +
            ", checiTypes=" + checiTypes +
            ", checiNewMoney=" + checiNewMoney +
            ", checiChufadi=" + checiChufadi +
            ", checiMudidi=" + checiMudidi +
            ", checiTime=" + checiTime +
            ", sectionNumber=" + sectionNumber +
            ", zuoweiNumber=" + zuoweiNumber +
            ", shangxiaTypes=" + shangxiaTypes +
            ", checiDelete=" + checiDelete +
            ", checiContent=" + checiContent +
            ", createTime=" + createTime +
        "}";
    }
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值