liyong
6 天以前 2a4d9802f9117d5d110e63ddaa41aada68731c4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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;
}