package com.kexue.skills.entity;

import java.util.Date;

import java.io.Serializable;
import com.kexue.skills.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * (CmsTag)实体类
 *
 * @author 王志维
 * @since 2025-02-21 23:01:48
 */
@Data
public class CmsTag extends BaseEntity implements Serializable  {
    private static final long serialVersionUID = 1L;

        @Schema(description ="主键ID")
        private Long tagId;

        @Schema(description ="标签名称")
        private String tagName;

        @Schema(description ="标签描述")
        private String description;

        @Schema(description ="使用次数")
        private Integer useCount;

        @Schema(description ="状态（1启用，2禁用）")
        private Integer status;

        @Schema(description ="标签图标")
        private String icon;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @Schema(description ="创建时间")
        private Date createTime;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @Schema(description ="更新时间")
        private Date updateTime;

        @Schema(description ="创建人")
        private String createBy;

        @Schema(description ="更新人")
        private String updateBy;

        @Schema(description ="是否删除 ：0 未删除，1已删除")
        private Integer deleteFlag;

}