package io.modules.item.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 商品分类表
 *
 * @author Mark #
 * @since 1.0.0 2025-02-13
 */
@Data
@Schema(name = "商品分类表")
public class CategoriesDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "编号")
	private Long id;

	@SchemaProperty(name = "名称")
	private String name;

	@SchemaProperty(name = "图片")
	private String image;

	@SchemaProperty(name = "父编号")
	private Integer parentId;

	@SchemaProperty(name = "创建时间")
	private Date createTime;


}
