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_model") public class ProductModel { private static final long serialVersionUID = 1L; /** * 序号 */ @TableId(type = IdType.AUTO) private Long id; /** * 关联产品id */ @Excel(name = "关联产品id") private Long productId; @TableField(exist = false) @Excel(name = "产品名称") private String productName; /** * 规格型号 */ @Excel(name = "规格型号") private String model; /** * 单位 */ @Excel(name = "单位") private String unit; @ApiModelProperty(value = "租户ID") @TableField(fill = FieldFill.INSERT) private Long tenantId; }