Authored by liangyi.chen@yoho.cn

Add File

package com.yoho.datasync.core.base.model.yh_grass;
import com.yoho.datasync.core.base.annotation.ClassTransfer;
import com.yoho.datasync.core.base.annotation.FieldTransfer;
import com.yoho.datasync.core.base.model.yh_pcms.PublicLabel;
import lombok.Data;
@Data
@ClassTransfer(targetClass = PublicLabel.class)
public class GrassLabel {
@FieldTransfer(targetFieldName = "relateId")
private Integer id;
@FieldTransfer
private String labelName;
@FieldTransfer
private Integer groupId;
private Integer status;
private Integer visibleStatus;
@FieldTransfer
private Integer createTime;
@FieldTransfer
private Integer updateTime;
}
... ...
package com.yoho.datasync.core.base.model.yh_grass;
import com.yoho.datasync.core.base.annotation.ClassTransfer;
import com.yoho.datasync.core.base.annotation.FieldTransfer;
import com.yoho.datasync.core.base.model.yh_pcms.PublicUserHomepage;
import lombok.Data;
@Data
@ClassTransfer(targetClass = PublicUserHomepage.class)
public class GrassUserAchieve {
private Integer id;
@FieldTransfer
private Integer uid;
@FieldTransfer(targetFieldName = "attenCount")
private Integer attCount;
@FieldTransfer
private Integer fansCount;
@FieldTransfer
private Integer praiseAmount;
@FieldTransfer
private Integer favoriteAmount;
@FieldTransfer
private String signature;
@FieldTransfer
private Integer createTime;
@FieldTransfer
private Integer updateTime;
@FieldTransfer
private Integer userType;
@FieldTransfer
private Integer isForbidden;
private Integer initFlag;
@FieldTransfer
private Integer authorId;
}
... ...
package com.yoho.datasync.core.base.model.yh_grass;
import com.yoho.datasync.core.base.annotation.ClassTransfer;
import com.yoho.datasync.core.base.annotation.FieldTransfer;
import com.yoho.datasync.core.base.model.yh_pcms.PublicVirtualUser;
import lombok.Data;
@Data
@ClassTransfer(targetClass = PublicVirtualUser.class)
public class GrassVirtualUser {
private Integer id;
@FieldTransfer
private Integer uid;
@FieldTransfer
private Integer status;
@FieldTransfer
private Integer createTime;
@FieldTransfer
private Integer updateTime;
}
... ...
package com.yoho.datasync.core.base.model.yh_pcms;
import com.yoho.datasync.core.base.model.yh_pcms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
@Data
@Entity
@Table(name = "public_label")
@EqualsAndHashCode(callSuper = true)
public class PublicLabel extends BaseEntity implements Serializable {
@Column(name = "label_name")
private String labelName;
@Column(name = "group_id")
private Integer groupId;
private Integer status;
@Column(name = "relate_id")
private Integer relateId;
@Column(name = "is_visible")
private Integer isVisible;
@Column(name = "src_channel")
private Integer srcChannel;
@Column(name = "create_time")
private Long createTime;
@Column(name = "update_time")
private Long updateTime;
}
... ...
package com.yoho.datasync.core.base.model.yh_pcms;
import com.yoho.datasync.core.base.model.yh_pcms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
@Data
@Entity
@Table(name = "public_user_homepage")
@EqualsAndHashCode(callSuper = true)
public class PublicUserHomepage extends BaseEntity implements Serializable {
private Integer uid;
@Column(name = "atten_count")
private Integer attenCount;
@Column(name = "fans_count")
private Integer fansCount;
@Column(name = "praise_amount")
private Integer praiseAmount;
@Column(name = "favorite_amount")
private Integer favoriteAmount;
private String signature;
@Column(name = "user_type")
private Integer userType;
@Column(name = "author_id")
private Integer authorId;
@Column(name = "is_forbidden")
private Integer isForbidden;
@Column(name = "src_channel")
private Integer srcChannel;
@Column(name = "create_time")
private Long createTime;
@Column(name = "update_time")
private Long updateTime;
}
... ...
package com.yoho.datasync.core.base.model.yh_pcms;
import com.yoho.datasync.core.base.model.yh_pcms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
@Data
@Entity
@Table(name = "public_virtual_user")
@EqualsAndHashCode(callSuper = true)
public class PublicVirtualUser extends BaseEntity implements Serializable {
private Integer uid;
@Column(name = "user_type")
private Integer userType;
@Column(name = "src_channel")
private Integer srcChannel;
private Integer status;
@Column(name = "create_time")
private Integer createTime;
@Column(name = "update_time")
private Integer updateTime;
}
... ...