package com.webmanage.entity; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.time.LocalDateTime; /** * 产品实体 * * @author webmanage * @date 2024-08-07 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("tb_product") public class Product implements Serializable { private static final long serialVersionUID = 1L; /** * 主键ID */ @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 产品名称 */ @TableField("product_name") private String productName; /** * 产品编码 */ @TableField("product_code") private String productCode; /** * 产品类型 */ @TableField("product_type") private String productType; /** * 产品分类 */ @TableField("category") private String category; /** * 产品描述 */ @TableField("description") private String description; /** * 提供者ID */ @TableField("provider_id") private Long providerId; /** * 提供者名称 */ @TableField("provider_name") private String providerName; /** * 提供者类型 */ @TableField("provider_type") private String providerType; /** * 产品状态 */ @TableField("status") private String status; /** * 审核状态 */ @TableField("audit_status") private String auditStatus; /** * 产品标签 */ @TableField("tags") private String tags; /** * 封面图片 */ @TableField("cover_image") private String coverImage; /** * 演示地址 */ @TableField("demo_url") private String demoUrl; /** * 文档地址 */ @TableField("doc_url") private String docUrl; /** * 创建时间 */ @TableField(value = "created_at", fill = FieldFill.INSERT) private LocalDateTime createdAt; /** * 更新时间 */ @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE) private LocalDateTime updatedAt; /** * 创建人ID */ @TableField("created_by") private Long createdBy; /** * 更新人ID */ @TableField("updated_by") private Long updatedBy; /** * 逻辑删除 */ @TableLogic @TableField("deleted") private Integer deleted; }