| | |
| | | package com.yeshi.fanli.entity.bus.user.cloud;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | | import com.yeshi.fanli.entity.goods.CommonGoods;
|
| | |
|
| | | /**
|
| | | * 发单商品库
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_user_cloud_goods")
|
| | | public class UserCloudGoods {
|
| | |
|
| | | public static int STATE_NORMAL = 0;// 初始
|
| | | public static int STATE_SHARED = 1;// 1已分享
|
| | | |
| | | @Expose
|
| | | @Column(name = "ug_id")
|
| | | private Long id;
|
| | |
|
| | | @Column(name = "ug_uid")
|
| | | private Long uid; // 用户id
|
| | |
|
| | | @Expose
|
| | | @Column(name = "ug_common_id")
|
| | | private CommonGoods commonGoods;
|
| | |
|
| | | @Expose
|
| | | @Column(name = "ug_state")
|
| | | private Integer state; // 状态
|
| | | |
| | | @Column(name = "ug_send_time")
|
| | | private Date sendTime; // 发送时间
|
| | |
|
| | | @Column(name = "ug_create_time")
|
| | | private Date createTime;
|
| | |
|
| | | @Column(name = "ug_update_time")
|
| | | private Date updateTime;
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Long getUid() {
|
| | | return uid;
|
| | | }
|
| | |
|
| | | public void setUid(Long uid) {
|
| | | this.uid = uid;
|
| | | }
|
| | |
|
| | | public CommonGoods getCommonGoods() {
|
| | | return commonGoods;
|
| | | }
|
| | |
|
| | | public void setCommonGoods(CommonGoods commonGoods) {
|
| | | this.commonGoods = commonGoods;
|
| | | }
|
| | |
|
| | | 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;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.user.cloud; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | import com.yeshi.fanli.entity.goods.CommonGoods; |
| | | |
| | | /** |
| | | * 发单商品库 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_user_cloud_goods") |
| | | public class UserCloudGoods { |
| | | |
| | | public static int STATE_NORMAL = 0;// 初始 |
| | | public static int STATE_SHARED = 1;// 1已分享 |
| | | public static int STATE_INVALID = 2;// 2已失效 |
| | | |
| | | @Expose |
| | | @Column(name = "ug_id") |
| | | private Long id; |
| | | |
| | | @Column(name = "ug_uid") |
| | | private Long uid; // 用户id |
| | | |
| | | @Expose |
| | | @Column(name = "ug_common_id") |
| | | private CommonGoods commonGoods; |
| | | |
| | | @Expose |
| | | @Column(name = "ug_state") |
| | | private Integer state; // 状态 |
| | | |
| | | @Column(name = "ug_send_time") |
| | | private Date sendTime; // 发送时间 |
| | | |
| | | @Column(name = "ug_create_time") |
| | | private Date createTime; |
| | | |
| | | @Column(name = "ug_update_time") |
| | | private Date updateTime; |
| | | |
| | | private String nickName;// 昵称 |
| | | private String portrait;// 头像 |
| | | |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getUid() { |
| | | return uid; |
| | | } |
| | | |
| | | public void setUid(Long uid) { |
| | | this.uid = uid; |
| | | } |
| | | |
| | | public CommonGoods getCommonGoods() { |
| | | return commonGoods; |
| | | } |
| | | |
| | | public void setCommonGoods(CommonGoods commonGoods) { |
| | | this.commonGoods = commonGoods; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | |
| | | public Date getSendTime() { |
| | | return sendTime; |
| | | } |
| | | |
| | | public void setSendTime(Date sendTime) { |
| | | this.sendTime = sendTime; |
| | | } |
| | | |
| | | public String getNickName() { |
| | | return nickName; |
| | | } |
| | | |
| | | public void setNickName(String nickName) { |
| | | this.nickName = nickName; |
| | | } |
| | | |
| | | public String getPortrait() { |
| | | return portrait; |
| | | } |
| | | |
| | | public void setPortrait(String portrait) { |
| | | this.portrait = portrait; |
| | | } |
| | | |
| | | |
| | | |
| | | } |