New file |
| | |
| | | package com.yeshi.fanli.entity.bus.user;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.goods.CommonGoods;
|
| | |
|
| | | @Table("yeshi_ec_user_goods_storage")
|
| | | public class UserGoodsStorage {
|
| | | |
| | | public static int STATE_NORMAL = 0;// 初始
|
| | | public static int STATE_SHARED = 1;// 1已分享
|
| | | |
| | | @Column(name = "guc_id")
|
| | | private Long id;
|
| | |
|
| | | // 商品
|
| | | @Column(name = "guc_common_id")
|
| | | private CommonGoods commonGoods;
|
| | |
|
| | | // 用户id
|
| | | @Column(name = "guc_uid")
|
| | | private Long uid;
|
| | |
|
| | | // 状态 0 初始 1已分享
|
| | | @Column(name = "guc_state")
|
| | | private Integer state;
|
| | |
|
| | | @Column(name = "guc_createtime")
|
| | | private Date createTime;
|
| | |
|
| | | @Column(name = "guc_updatetime")
|
| | | private Date updateTime;
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public CommonGoods getCommonGoods() {
|
| | | return commonGoods;
|
| | | }
|
| | |
|
| | | public void setCommonGoods(CommonGoods commonGoods) {
|
| | | this.commonGoods = commonGoods;
|
| | | }
|
| | |
|
| | | public Long getUid() {
|
| | | return uid;
|
| | | }
|
| | |
|
| | | public void setUid(Long uid) {
|
| | | this.uid = uid;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | 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;
|
| | | }
|
| | | }
|