package cn.com.ctop.kuaishou.modules.channel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * 渠道号和单品关系表
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2021-09-06
 */
@Data
@TableName("ctop_kuaishou_channel_items_rel")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_kuaishou_channel_items_rel对象", description = "渠道号和单品关系表")
public class KuaishouChannelItemsRel {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 渠道id
     */
    @Excel(name = "渠道id", width = 15)
    @ApiModelProperty(value = "渠道id")
    private Long channelId;
    /**
     * 单品id
     */
    @Excel(name = "单品id", width = 15)
    @ApiModelProperty(value = "单品id")
    private Long itemId;
    /**
     * createTime
     */
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * updateTime
     */
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
}
