| | |
| | | package com.yeshi.fanli.entity.bus.lable;
|
| | |
|
| | | import java.io.Serializable;
|
| | | import java.util.Date;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.Entity;
|
| | | import javax.persistence.FetchType;
|
| | | import javax.persistence.GeneratedValue;
|
| | | import javax.persistence.GenerationType;
|
| | | import javax.persistence.Id;
|
| | | import javax.persistence.JoinColumn;
|
| | | import javax.persistence.ManyToOne;
|
| | | import javax.persistence.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.common.AdminUser;
|
| | |
|
| | | /**
|
| | | * 标签库
|
| | | * |
| | | * @author yj
|
| | | *
|
| | | * @date 2018年6月27日
|
| | | */
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_label")
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_label")
|
| | | public class Label implements Serializable{
|
| | |
|
| | | /**
|
| | | * |
| | | */
|
| | | private static final long serialVersionUID = 1L;
|
| | | // 后台录入
|
| | | public final static int MODE_BACKSTAGE = 1;
|
| | | // excel导入
|
| | | public final static int MODE_EXCEL = 2;
|
| | | // 系统数据抓取
|
| | | public final static int MODE_SYSTEM = 3;
|
| | |
|
| | | @Id
|
| | | @Column(name = "lab_id")
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_id")
|
| | | private Long id;
|
| | |
|
| | | @JoinColumn(name = "lab_title")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_title")
|
| | | private String title;// 名称
|
| | |
|
| | | @JoinColumn(name = "lab_picture")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_picture")
|
| | | private String picture; // 图片url
|
| | |
|
| | | @JoinColumn(name = "lab_ios_click")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_ios_click")
|
| | | private Long iosClick; // 点击次数
|
| | |
|
| | | @JoinColumn(name = "lab_android_click")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_android_click")
|
| | | private Long androidClick; // 点击次数
|
| | |
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "lab_entry_aid")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_entry_aid")
|
| | | private AdminUser createUser; // 录入人
|
| | |
|
| | | @JoinColumn(name = "lab_entry_mode")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_entry_mode")
|
| | | private Integer entrymode; // 录入方式 (1 人工录入、2 系统自动录入、3 搜索录入)
|
| | |
|
| | | @JoinColumn(name = "lab_remark")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_remark")
|
| | | private String remark; // 备注
|
| | | |
| | | |
| | | @JoinColumn(name = "lab_createtime")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_createtime")
|
| | | private Date createtime; // 创建时间
|
| | |
|
| | | @JoinColumn(name = "lab_updatetime")
|
| | | @org.yeshi.utils.mybatis.Column(name = "lab_updatetime")
|
| | | private Date updatetime; // 更新时间(修改时间)
|
| | |
|
| | | |
| | | private Long countRelation; // 统计关联商品数量
|
| | | private Long countClick; // 总点击次数
|
| | | |
| | | |
| | | public Label(){}
|
| | | |
| | | public Label(Long id){
|
| | | this.id = id;
|
| | | }
|
| | | |
| | | |
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getTitle() {
|
| | | return title;
|
| | | }
|
| | |
|
| | | public void setTitle(String title) {
|
| | | this.title = title;
|
| | | }
|
| | |
|
| | | public String getPicture() {
|
| | | return picture;
|
| | | }
|
| | |
|
| | | public void setPicture(String picture) {
|
| | | this.picture = picture;
|
| | | }
|
| | |
|
| | | public Long getIosClick() {
|
| | | return iosClick;
|
| | | }
|
| | |
|
| | | public void setIosClick(Long iosClick) {
|
| | | this.iosClick = iosClick;
|
| | | }
|
| | |
|
| | | public Long getAndroidClick() {
|
| | | return androidClick;
|
| | | }
|
| | |
|
| | | public void setAndroidClick(Long androidClick) {
|
| | | this.androidClick = androidClick;
|
| | | }
|
| | |
|
| | | public AdminUser getCreateUser() {
|
| | | return createUser;
|
| | | }
|
| | |
|
| | | public void setCreateUser(AdminUser createUser) {
|
| | | this.createUser = createUser;
|
| | | }
|
| | |
|
| | | public Integer getEntrymode() {
|
| | | return entrymode;
|
| | | }
|
| | |
|
| | | public void setEntrymode(Integer entrymode) {
|
| | | this.entrymode = entrymode;
|
| | | }
|
| | |
|
| | | public Date getCreatetime() {
|
| | | return createtime;
|
| | | }
|
| | |
|
| | | public void setCreatetime(Date createtime) {
|
| | | this.createtime = createtime;
|
| | | }
|
| | |
|
| | | public Date getUpdatetime() {
|
| | | return updatetime;
|
| | | }
|
| | |
|
| | | public void setUpdatetime(Date updatetime) {
|
| | | this.updatetime = updatetime;
|
| | | }
|
| | |
|
| | | public Long getCountRelation() {
|
| | | return countRelation;
|
| | | }
|
| | |
|
| | | public void setCountRelation(Long countRelation) {
|
| | | this.countRelation = countRelation;
|
| | | }
|
| | |
|
| | | public Long getCountClick() {
|
| | | return countClick;
|
| | | }
|
| | |
|
| | | public void setCountClick(Long countClick) {
|
| | | this.countClick = countClick;
|
| | | }
|
| | |
|
| | | public String getRemark() {
|
| | | return remark;
|
| | | }
|
| | |
|
| | | public void setRemark(String remark) {
|
| | | this.remark = remark;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.lable; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.yeshi.fanli.entity.common.AdminUser; |
| | | |
| | | /** |
| | | * 标签库 |
| | | * |
| | | * @author yj |
| | | * |
| | | * @date 2018年6月27日 |
| | | */ |
| | | @Table("yeshi_ec_label") |
| | | public class Label implements Serializable { |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | // 后台录入 |
| | | public final static int MODE_BACKSTAGE = 1; |
| | | // excel导入 |
| | | public final static int MODE_EXCEL = 2; |
| | | // 系统数据抓取 |
| | | public final static int MODE_SYSTEM = 3; |
| | | |
| | | |
| | | @Column(name = "lab_id") |
| | | private Long id; |
| | | |
| | | @Column(name = "lab_title") |
| | | private String title;// 名称 |
| | | |
| | | @Column(name = "lab_picture") |
| | | private String picture; // 图片url |
| | | |
| | | @Column(name = "lab_ios_click") |
| | | private Long iosClick; // 点击次数 |
| | | |
| | | @Column(name = "lab_android_click") |
| | | private Long androidClick; // 点击次数 |
| | | |
| | | @Column(name = "lab_entry_aid") |
| | | private AdminUser createUser; // 录入人 |
| | | |
| | | @Column(name = "lab_entry_mode") |
| | | private Integer entrymode; // 录入方式 (1 人工录入、2 系统自动录入、3 搜索录入) |
| | | |
| | | @Column(name = "lab_remark") |
| | | private String remark; // 备注 |
| | | |
| | | @Column(name = "lab_createtime") |
| | | private Date createtime; // 创建时间 |
| | | |
| | | @Column(name = "lab_updatetime") |
| | | private Date updatetime; // 更新时间(修改时间) |
| | | |
| | | |
| | | private Long countRelation; // 统计关联商品数量 |
| | | private Long countClick; // 总点击次数 |
| | | |
| | | |
| | | public Label(){} |
| | | |
| | | public Label(Long id){ |
| | | this.id = id; |
| | | } |
| | | |
| | | |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getPicture() { |
| | | return picture; |
| | | } |
| | | |
| | | public void setPicture(String picture) { |
| | | this.picture = picture; |
| | | } |
| | | |
| | | public Long getIosClick() { |
| | | return iosClick; |
| | | } |
| | | |
| | | public void setIosClick(Long iosClick) { |
| | | this.iosClick = iosClick; |
| | | } |
| | | |
| | | public Long getAndroidClick() { |
| | | return androidClick; |
| | | } |
| | | |
| | | public void setAndroidClick(Long androidClick) { |
| | | this.androidClick = androidClick; |
| | | } |
| | | |
| | | public AdminUser getCreateUser() { |
| | | return createUser; |
| | | } |
| | | |
| | | public void setCreateUser(AdminUser createUser) { |
| | | this.createUser = createUser; |
| | | } |
| | | |
| | | public Integer getEntrymode() { |
| | | return entrymode; |
| | | } |
| | | |
| | | public void setEntrymode(Integer entrymode) { |
| | | this.entrymode = entrymode; |
| | | } |
| | | |
| | | public Date getCreatetime() { |
| | | return createtime; |
| | | } |
| | | |
| | | public void setCreatetime(Date createtime) { |
| | | this.createtime = createtime; |
| | | } |
| | | |
| | | public Date getUpdatetime() { |
| | | return updatetime; |
| | | } |
| | | |
| | | public void setUpdatetime(Date updatetime) { |
| | | this.updatetime = updatetime; |
| | | } |
| | | |
| | | public Long getCountRelation() { |
| | | return countRelation; |
| | | } |
| | | |
| | | public void setCountRelation(Long countRelation) { |
| | | this.countRelation = countRelation; |
| | | } |
| | | |
| | | public Long getCountClick() { |
| | | return countClick; |
| | | } |
| | | |
| | | public void setCountClick(Long countClick) { |
| | | this.countClick = countClick; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | } |