package com.storlead.framework.mybatis.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.extern.log4j.Log4j2;

/**
 * @program: storlead-saas-platform
 * @description:
 * @author: chenkq
 * @create: 2026-05-09 11:15
 */
@EqualsAndHashCode(callSuper = false)
@Log4j2
@Accessors(chain = true)
@Data
public class TenantBaseField extends SysBaseField {

    @ApiModelProperty(value = "租户（企业）ID")
    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    private Long tenantId;

}
