package com.ruoyi.web.controller.chenyanlogin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tags")
public class Tags implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    /**
     * 区域ID
     */
    private Long areaId;

    /**
     * 颜色
     */
    private String color;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 创建用户ID
     */
    private Long creatorId;

    /**
     * 删除标志
     */
    private Boolean delFlag;

    /**
     * 修改用户ID
     */
    private Long modifierId;

    /**
     * 修改时间
     */
    private LocalDate modifyDate;

    /**
     * 标签名称
     */
    private String tagName;

    /**
     * 标签类型：0-家庭标签 1-人口标签
     */
    private Integer tagType;

    /**
     * 使用数
     */
    private Integer useNum;


}
