123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- package com.kmall.admin.entity;
- import com.fasterxml.jackson.databind.annotation.JsonSerialize;
- import com.kmall.common.utils.JsonTimeSerializer;
- import java.io.Serializable;
- /**
- * @author Scott
- * @email
- * @date 2017-08-13 10:41:06
- */
- public class CollectEntity implements Serializable {
- private static final long serialVersionUID = 1L;
- //主键
- private Integer id;
- //用户Id
- private Long userId;
- private String userName;
- //产品Id
- private Integer valueId;
- private String valueName;
- //添加时间
- private Long addTime;
- //是否提醒
- private Integer isAttention;
- //
- private Integer typeId;
- /**
- * 设置:主键
- */
- public void setId(Integer id) {
- this.id = id;
- }
- /**
- * 获取:主键
- */
- public Integer getId() {
- return id;
- }
- /**
- * 设置:用户Id
- */
- public void setUserId(Long userId) {
- this.userId = userId;
- }
- /**
- * 获取:用户Id
- */
- public Long getUserId() {
- return userId;
- }
- /**
- * 设置:产品Id
- */
- public void setValueId(Integer valueId) {
- this.valueId = valueId;
- }
- /**
- * 获取:产品Id
- */
- public Integer getValueId() {
- return valueId;
- }
- /**
- * 设置:添加时间
- */
- public void setAddTime(Long addTime) {
- this.addTime = addTime;
- }
- /**
- * 获取:添加时间
- */
- @JsonSerialize(using = JsonTimeSerializer.class)
- public Long getAddTime() {
- return addTime;
- }
- /**
- * 设置:是否提醒
- */
- public void setIsAttention(Integer isAttention) {
- this.isAttention = isAttention;
- }
- /**
- * 获取:是否提醒
- */
- public Integer getIsAttention() {
- return isAttention;
- }
- /**
- * 设置:
- */
- public void setTypeId(Integer typeId) {
- this.typeId = typeId;
- }
- /**
- * 获取:
- */
- public Integer getTypeId() {
- return typeId;
- }
- public String getUserName() {
- return userName;
- }
- public void setUserName(String userName) {
- this.userName = userName;
- }
- public String getValueName() {
- return valueName;
- }
- public void setValueName(String valueName) {
- this.valueName = valueName;
- }
- }
|