package com.czg.account.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import java.io.Serial;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Pad商品自定义分类明细 实体类。
 *
 * @author zs
 * @since 2025-02-20
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
@Table("tb_pad_product_category_detail")
@Accessors(chain = true)
public class PadProductCategoryDetail implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * Pad商品自定义分类id
     */
    private Long padProductCategoryId;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 创建时间
     */
    @Column(onInsertValue = "now()")
    private LocalDateTime createTime;

}
