create table lie_shop_picture (
    id int unsigned auto_increment comment '主键id' primary key,
    spu_id bigint(19) unsigned default 0 not null comment 'SPUID',
    sku_id bigint(19) unsigned default 0 not null comment 'SKUID',
    class_id smallint unsigned default 0 not null comment '猎芯分类id',
    lie_pic_url varchar(255) default '' not null comment '猎芯图片链接',
    jd_pic_url  varchar(255) default '' not null comment '京东图片链接',
    shop_type smallint(1) unsigned default 0 not null comment '店铺类型 1-pop 2-vc',
    state smallint(1) unsigned default 0 not null comment '图片状态 图片状态,0-未审核,1-审核通过(默认),2-审核不通过,3-图片空间逻辑删除,4-图片服务器逻辑删除,5-图片服务器物理删除,6-图片空间永久删除',
    create_time int(10) unsigned  default 0  not null comment '创建时间',
    update_time int(10) unsigned default 0 not null comment '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='猎芯京东图片映射表';

create index spu_id_index on lie_shop_picture(spu_id);
create index sku_id_index on lie_shop_picture(sku_id);
create index class_id_index on lie_shop_picture(class_id);