bug--删除注释以及完善图片素材
This commit is contained in:
@ -7,125 +7,101 @@
|
||||
* 一经发现盗用、分享等行为,将追究法律责任,后果自负
|
||||
*/
|
||||
package co.yixiang.mp.domain;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author hupeng
|
||||
* @date 2020-05-12
|
||||
*/
|
||||
@Entity
|
||||
@Data
|
||||
@Table(name="yx_article")
|
||||
@TableName("yx_article")
|
||||
public class YxArticle implements Serializable {
|
||||
|
||||
/** 文章管理ID */
|
||||
@Id
|
||||
|
||||
@Column(name = "id")
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 分类id */
|
||||
@Column(name = "cid")
|
||||
private String cid;
|
||||
|
||||
|
||||
/** 文章标题 */
|
||||
@Column(name = "title",nullable = false)
|
||||
@NotBlank
|
||||
private String title;
|
||||
|
||||
|
||||
/** 文章作者 */
|
||||
@Column(name = "author")
|
||||
private String author;
|
||||
|
||||
|
||||
/** 文章图片 */
|
||||
@Column(name = "image_input",nullable = false)
|
||||
@NotBlank
|
||||
private String imageInput;
|
||||
|
||||
|
||||
/** 文章简介 */
|
||||
@Column(name = "synopsis")
|
||||
private String synopsis;
|
||||
|
||||
|
||||
@Column(name = "content")
|
||||
private String content;
|
||||
|
||||
|
||||
/** 文章分享标题 */
|
||||
@Column(name = "share_title")
|
||||
private String shareTitle;
|
||||
|
||||
|
||||
/** 文章分享简介 */
|
||||
@Column(name = "share_synopsis")
|
||||
private String shareSynopsis;
|
||||
|
||||
|
||||
/** 浏览次数 */
|
||||
@Column(name = "visit")
|
||||
private String visit;
|
||||
|
||||
|
||||
/** 排序 */
|
||||
@Column(name = "sort")
|
||||
private Integer sort;
|
||||
|
||||
|
||||
/** 原文链接 */
|
||||
@Column(name = "url")
|
||||
private String url;
|
||||
|
||||
|
||||
/** 状态 */
|
||||
@Column(name = "status")
|
||||
private Integer status;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
@Column(name = "add_time")
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private String addTime;
|
||||
|
||||
|
||||
/** 是否隐藏 */
|
||||
@Column(name = "hide")
|
||||
private Integer hide;
|
||||
|
||||
|
||||
/** 管理员id */
|
||||
@Column(name = "admin_id")
|
||||
private Integer adminId;
|
||||
|
||||
|
||||
/** 商户id */
|
||||
@Column(name = "mer_id")
|
||||
private Integer merId;
|
||||
|
||||
|
||||
/** 产品关联id */
|
||||
@Column(name = "product_id")
|
||||
private Integer productId;
|
||||
|
||||
|
||||
/** 是否热门(小程序) */
|
||||
@Column(name = "is_hot")
|
||||
private Integer isHot;
|
||||
|
||||
|
||||
/** 是否轮播图(小程序) */
|
||||
@Column(name = "is_banner")
|
||||
private Integer isBanner;
|
||||
|
||||
|
||||
|
@ -11,31 +11,26 @@ import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author hupeng
|
||||
* @date 2020-05-12
|
||||
*/
|
||||
@Entity
|
||||
@Data
|
||||
@Table(name="yx_wechat_menu")
|
||||
@TableName("yx_wechat_menu")
|
||||
public class YxWechatMenu implements Serializable {
|
||||
|
||||
@Id
|
||||
@TableId(value = "`key`")
|
||||
private String key;
|
||||
|
||||
|
||||
/** 缓存数据 */
|
||||
@Column(name = "result")
|
||||
private String result;
|
||||
|
||||
|
||||
/** 缓存时间 */
|
||||
@Column(name = "add_time")
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private Integer addTime;
|
||||
|
||||
|
||||
|
@ -7,58 +7,45 @@
|
||||
* 一经发现盗用、分享等行为,将追究法律责任,后果自负
|
||||
*/
|
||||
package co.yixiang.mp.domain;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import javax.persistence.*;
|
||||
import javax.validation.constraints.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author hupeng
|
||||
* @date 2020-05-12
|
||||
*/
|
||||
@Entity
|
||||
@Data
|
||||
@Table(name="yx_wechat_reply")
|
||||
@TableName("yx_wechat_reply")
|
||||
public class YxWechatReply implements Serializable {
|
||||
|
||||
/** 微信关键字回复id */
|
||||
@Id
|
||||
|
||||
@Column(name = "id")
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 关键字 */
|
||||
@TableField(value = "`key`")
|
||||
@NotBlank
|
||||
private String key;
|
||||
|
||||
|
||||
/** 回复类型 */
|
||||
@Column(name = "type",nullable = false)
|
||||
@NotBlank
|
||||
private String type;
|
||||
|
||||
|
||||
/** 回复数据 */
|
||||
@Column(name = "data",nullable = false)
|
||||
@NotBlank
|
||||
private String data;
|
||||
|
||||
|
||||
/** 0=不可用 1 =可用 */
|
||||
@Column(name = "status",nullable = false)
|
||||
@NotNull
|
||||
private Integer status;
|
||||
|
||||
|
||||
/** 是否隐藏 */
|
||||
@Column(name = "hide")
|
||||
private Integer hide;
|
||||
|
||||
|
||||
|
@ -7,7 +7,9 @@
|
||||
* 一经发现盗用、分享等行为,将追究法律责任,后果自负
|
||||
*/
|
||||
package co.yixiang.mp.domain;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
@ -21,50 +23,37 @@ import java.io.Serializable;
|
||||
* @author hupeng
|
||||
* @date 2020-05-12
|
||||
*/
|
||||
@Entity
|
||||
@Data
|
||||
@Table(name="yx_wechat_template")
|
||||
@TableName("yx_wechat_template")
|
||||
public class YxWechatTemplate implements Serializable {
|
||||
|
||||
/** 模板id */
|
||||
@Id
|
||||
|
||||
@Column(name = "id")
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
|
||||
/** 模板编号 */
|
||||
@Column(name = "tempkey",nullable = false)
|
||||
@NotBlank
|
||||
private String tempkey;
|
||||
|
||||
|
||||
/** 模板名 */
|
||||
@Column(name = "name",nullable = false)
|
||||
@NotBlank
|
||||
private String name;
|
||||
|
||||
|
||||
/** 回复内容 */
|
||||
@Column(name = "content",nullable = false)
|
||||
@NotBlank
|
||||
private String content;
|
||||
|
||||
|
||||
/** 模板ID */
|
||||
@Column(name = "tempid")
|
||||
private String tempid;
|
||||
|
||||
|
||||
/** 添加时间 */
|
||||
@Column(name = "add_time",nullable = false)
|
||||
@NotBlank
|
||||
@TableField(fill= FieldFill.INSERT)
|
||||
private String addTime;
|
||||
|
||||
|
||||
/** 状态 */
|
||||
@Column(name = "status",nullable = false)
|
||||
@NotNull
|
||||
private Integer status;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user