| | |
| | | package com.yeshi.fanli.dto.mq.user.body;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import com.yeshi.fanli.dto.mq.BaseMQMsgBody;
|
| | |
|
| | | /**
|
| | | * 邀请信息
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public class UserInviteMQMsg extends BaseMQMsgBody {
|
| | | public static int STATE_NOT_SUCCESS = 0;
|
| | | public static int STATE_SUCCESS = 1;
|
| | |
|
| | | private Long bossId;// 上级ID
|
| | | private Long workerId;// 下级ID
|
| | | private Date inviteTime;// 邀请时间
|
| | | private Date successTime;// 成功时间
|
| | | private int state;// 邀请状态
|
| | |
|
| | | public UserInviteMQMsg(Long bossId, Long workerId, Date inviteTime, Date successTime, int state) {
|
| | | super();
|
| | | this.bossId = bossId;
|
| | | this.workerId = workerId;
|
| | | this.inviteTime = inviteTime;
|
| | | this.successTime = successTime;
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | public UserInviteMQMsg() {
|
| | | super();
|
| | | }
|
| | |
|
| | | public Long getBossId() {
|
| | | return bossId;
|
| | | }
|
| | |
|
| | | public void setBossId(Long bossId) {
|
| | | this.bossId = bossId;
|
| | | }
|
| | |
|
| | | public Long getWorkerId() {
|
| | | return workerId;
|
| | | }
|
| | |
|
| | | public void setWorkerId(Long workerId) {
|
| | | this.workerId = workerId;
|
| | | }
|
| | |
|
| | | public Date getInviteTime() {
|
| | | return inviteTime;
|
| | | }
|
| | |
|
| | | public void setInviteTime(Date inviteTime) {
|
| | | this.inviteTime = inviteTime;
|
| | | }
|
| | |
|
| | | public Date getSuccessTime() {
|
| | | return successTime;
|
| | | }
|
| | |
|
| | | public void setSuccessTime(Date successTime) {
|
| | | this.successTime = successTime;
|
| | | }
|
| | |
|
| | | public int getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(int state) {
|
| | | this.state = state;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.dto.mq.user.body; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.yeshi.fanli.dto.mq.BaseMQMsgBody; |
| | | |
| | | /** |
| | | * 邀请信息 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public class UserInviteMQMsg extends BaseMQMsgBody { |
| | | public static int STATE_NOT_SUCCESS = 0; |
| | | public static int STATE_SUCCESS = 1; |
| | | |
| | | private Long bossId;// 上级ID |
| | | private Long workerId;// 下级ID |
| | | private Date inviteTime;// 邀请时间 |
| | | private Date successTime;// 成功时间 |
| | | private int state;// 邀请状态 |
| | | |
| | | public UserInviteMQMsg(Long bossId, Long workerId, Date inviteTime, Date successTime, int state) { |
| | | super(); |
| | | this.bossId = bossId; |
| | | this.workerId = workerId; |
| | | this.inviteTime = inviteTime; |
| | | this.successTime = successTime; |
| | | this.state = state; |
| | | } |
| | | |
| | | public UserInviteMQMsg() { |
| | | super(); |
| | | } |
| | | |
| | | public Long getBossId() { |
| | | return bossId; |
| | | } |
| | | |
| | | public void setBossId(Long bossId) { |
| | | this.bossId = bossId; |
| | | } |
| | | |
| | | public Long getWorkerId() { |
| | | return workerId; |
| | | } |
| | | |
| | | public void setWorkerId(Long workerId) { |
| | | this.workerId = workerId; |
| | | } |
| | | |
| | | public Date getInviteTime() { |
| | | return inviteTime; |
| | | } |
| | | |
| | | public void setInviteTime(Date inviteTime) { |
| | | this.inviteTime = inviteTime; |
| | | } |
| | | |
| | | public Date getSuccessTime() { |
| | | return successTime; |
| | | } |
| | | |
| | | public void setSuccessTime(Date successTime) { |
| | | this.successTime = successTime; |
| | | } |
| | | |
| | | public int getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(int state) { |
| | | this.state = state; |
| | | } |
| | | } |