| | |
| | | import java.io.Serializable;
|
| | | import java.util.Date;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.Entity;
|
| | | import javax.persistence.FetchType;
|
| | | 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 org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.common.AdminUser;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
|
| | |
| | | *
|
| | | * @date 2018年7月3日
|
| | | */
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_quality_factory")
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_quality_factory")
|
| | | public class QualityFactory implements Serializable{
|
| | | @Table("yeshi_ec_quality_factory")
|
| | | public class QualityFactory implements Serializable {
|
| | |
|
| | | /**
|
| | | * |
| | | */
|
| | | private static final long serialVersionUID = 1L;
|
| | |
|
| | | // 人工筛选入库
|
| | |
| | | public final static int SOURCE_OTHER = 5;
|
| | |
|
| | |
|
| | | @Id
|
| | | @Column(name = "sg_id")
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_id")
|
| | | private Long id;
|
| | |
|
| | |
|
| | | @JoinColumn(name = "sg_class_id")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_class_id")
|
| | | @Column(name = "sg_class_id")
|
| | | private Long systemCid; // 商品类目id
|
| | |
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "sg_goods_id")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_goods_id")
|
| | | @Column(name = "sg_goods_id")
|
| | | private TaoBaoGoodsBrief taoBaoGoodsBrief;// 商品id
|
| | |
|
| | |
|
| | | @JoinColumn(name = "sg_entry_mode")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_entry_mode")
|
| | | @Column(name = "sg_entry_mode")
|
| | | private Integer entryMode; // 录入方式
|
| | |
|
| | | @JoinColumn(name = "sg_goods_source")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_goods_source")
|
| | | @Column(name = "sg_goods_source")
|
| | | private Integer goodsSource; // 商品来源
|
| | |
|
| | | @JoinColumn(name = "sg_source_calss")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_source_calss")
|
| | | @Column(name = "sg_source_calss")
|
| | | private String sourceCalss; // 来源具体类目
|
| | |
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "sg_rule_id")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_rule_id")
|
| | | @Column(name = "sg_rule_id")
|
| | | private BoutiqueAutoRule boutiqueAutoRule; // 录入方式
|
| | |
|
| | | @JoinColumn(name = "sg_weight")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_weight")
|
| | | @Column(name = "sg_weight")
|
| | | private Integer weight; // 商品权重 -- 排序
|
| | |
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "sg_create_aid")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_create_aid")
|
| | | @Column(name = "sg_create_aid")
|
| | | private AdminUser createUser; // 创建人
|
| | |
|
| | | @JoinColumn(name = "sg_createtime")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_createtime")
|
| | | @Column(name = "sg_createtime")
|
| | | private Date createtime; // 创建时间
|
| | |
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "sg_update_aid")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_update_aid")
|
| | | @Column(name = "sg_update_aid")
|
| | | private AdminUser updateUser; // 修改人
|
| | |
|
| | | @JoinColumn(name = "sg_updatetime")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sg_updatetime")
|
| | | @Column(name = "sg_updatetime")
|
| | | private Date updatetime; // 更新时间
|
| | |
|
| | | public Long getId() {
|