2 天以前 a77decc3df26449414639082293e2ee6722e643c
src/main/java/com/ruoyi/basic/pojo/ProductModel.java
@@ -2,15 +2,16 @@
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
@TableName("product_model")
public class ProductModel {
public class ProductModel implements Serializable {
    private static final long serialVersionUID = 1L;
@@ -36,6 +37,10 @@
    @Excel(name = "规格型号")
    private String model;
    @Excel(name = "产品编码")
    @TableField("product_code")
    private String productCode;
    /**
     * 单位
     */
@@ -48,7 +53,7 @@
    @Excel(name = "生产炒机")
    private String speculativeTradingName;
    @ApiModelProperty(value = "租户ID")
    @Schema(description = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    @TableField(exist = false)
@@ -63,4 +68,15 @@
    @TableField(exist = false)
    private LocalDateTime createTime;
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
    @Schema(description = "顶部父产品id")
    @TableField(exist = false)
    private Long topProductParentId;
}