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;

/**
 * Pad商品布局版式 实体类。
 *
 * @author zs
 * @since 2025-02-20
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
@Table("tb_pad_layout")
public class PadLayout implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 布局版式名称
     */
    private String name;

    /**
     * 布局版式代码
     */
    private String code;

    /**
     * 允许展示最大商品数
     */
    private Integer maximum;

    /**
     * 详细描述
     */
    private String remark;

    /**
     * 排序号，升序
     */
    private Integer sort;

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

    /**
     * 删除标志 0-正常 1-已删除
     */
    private Integer isDel;

}
