package com.ruoyi.basic.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
@Data
|
@TableName("product")
|
public class Product {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 父ID
|
*/
|
private Long parentId;
|
|
/**
|
* 产品名称
|
*/
|
private String productName;
|
|
// /**
|
// * 规格型号
|
// */
|
// @Excel(name = "图纸编号")
|
// private String model;
|
|
@ApiModelProperty(value = "租户ID")
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
}
|