package com.zhongzheng.modules.goods.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.zhongzheng.common.annotation.Excel;

/**
 * 商品附加产品对象 goods_attached
 *
 * @author  hjl
 * @date 2021-10-28
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("goods_attached")
public class GoodsAttached implements Serializable {

private static final long serialVersionUID=1L;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** 商品id */
    private Long goodsId;
    /** 主ID */
    private Long majorId;
    /** 排序 */
    private Integer sort;
    /** 1模块卷 2章卷 3试卷 */
    private Integer type;
    /** 添加时间 */
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;
    /** 修改时间 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;
}
