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.PublicLabelGroup;
import lombok.Data;
@Data
@ClassTransfer(targetClass = PublicLabelGroup.class)
public class GrassLabelGroup {
@FieldTransfer(targetFieldName = "relateId")
private Integer id;
@FieldTransfer
private String groupName;
@FieldTransfer
private Integer labelAmount;
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_group")
@EqualsAndHashCode(callSuper = true)
public class PublicLabelGroup extends BaseEntity implements Serializable {
@Column(name = "group_name")
private String groupName;
@Column(name = "label_amount")
private Integer labelAmount;
private Integer status;
@Column(name = "relate_id")
private Integer relateId;
@Column(name = "src_channel")
private Integer srcChannel;
@Column(name = "create_time")
private Long createTime;
@Column(name = "update_time")
private Long updateTime;
}
... ...