From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/user/AccountMessage.java | 214 +++++++++++++++++++++++++---------------------------- 1 files changed, 100 insertions(+), 114 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/AccountMessage.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/AccountMessage.java index 5ba484c..9d43920 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/AccountMessage.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/AccountMessage.java @@ -1,114 +1,100 @@ -package com.yeshi.fanli.entity.bus.user; - -import javax.persistence.Column; -import javax.persistence.Entity; -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.google.gson.annotations.Expose; - -/** - * 绔欏唴娑堟伅 - * @author cxx - * - * @date 2018骞�1鏈�29鏃� - */ -@Entity -@Table(name="yeshi_ec_account_message") -@org.yeshi.utils.mybatis.Table("yeshi_ec_account_message") -public class AccountMessage { - - @org.yeshi.utils.mybatis.Column(name="id") - @Id - @GeneratedValue(strategy=GenerationType.AUTO) - @Expose - private Long id; - - @org.yeshi.utils.mybatis.Column(name="uid") - @ManyToOne - @JoinColumn(name="uid") - private UserInfo userInfo; - - @org.yeshi.utils.mybatis.Column(name="title") - @Expose - private String title; - - @org.yeshi.utils.mybatis.Column(name="content") - @Expose - private String content; - - @org.yeshi.utils.mybatis.Column(name="createTime") - @Expose - private Long createTime; - - @org.yeshi.utils.mybatis.Column(name="isOpen") - @Expose - private Boolean isOpen; - - @org.yeshi.utils.mybatis.Column(name="system_msg_id") - @Expose - @Column(name="system_msg_id") - private Long systemMsgId; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Boolean getIsOpen() { - return isOpen; - } - - public void setIsOpen(Boolean isOpen) { - this.isOpen = isOpen; - } - - public UserInfo getUserInfo() { - return userInfo; - } - - - public void setUserInfo(UserInfo userInfo) { - this.userInfo = userInfo; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public Long getCreateTime() { - return createTime; - } - - public void setCreateTime(Long createTime) { - this.createTime = createTime; - } - - public Long getSystemMsgId() { - return systemMsgId; - } - - public void setSystemMsgId(long systemMsgId) { - this.systemMsgId = systemMsgId; - } - -} +package com.yeshi.fanli.entity.bus.user; + +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +import com.google.gson.annotations.Expose; + +/** + * 绔欏唴娑堟伅 + * @author cxx + * + * @date 2018骞�1鏈�29鏃� + */ +@Table("yeshi_ec_account_message") +public class AccountMessage { + + @Column(name="id") + private Long id; + + @Column(name="uid") + private UserInfo userInfo; + + @Column(name="title") + @Expose + private String title; + + @Column(name="content") + @Expose + private String content; + + @Column(name="createTime") + @Expose + private Long createTime; + + @Column(name="isOpen") + @Expose + private Boolean isOpen; + + @Column(name="system_msg_id") + @Expose + private Long systemMsgId; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Boolean getIsOpen() { + return isOpen; + } + + public void setIsOpen(Boolean isOpen) { + this.isOpen = isOpen; + } + + public UserInfo getUserInfo() { + return userInfo; + } + + + public void setUserInfo(UserInfo userInfo) { + this.userInfo = userInfo; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public Long getCreateTime() { + return createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public Long getSystemMsgId() { + return systemMsgId; + } + + public void setSystemMsgId(long systemMsgId) { + this.systemMsgId = systemMsgId; + } + +} -- Gitblit v1.8.0