package com.ruoyi.basic.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; /** * 产品厂家密度绑定表 * * @author zhuo * @since 2024-09-19 */ @Data @TableName("product_supplier_density") public class ProductSupplierDensity implements Serializable { @TableId(type = IdType.AUTO) private Integer id; @Schema(description = "产品id") private Integer productId; @Schema(description = "型号") private String model; @Schema(description = "厂家名称") private String supplierName; @Schema(description = "密度值") private String densityValue; @Schema(description = "创建人id") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "修改人id") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @Schema(description = "更新时间") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; }