package com.yaoai.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("tenant_quotas")
public class TenantQuota {

    @TableId(value = "tenant_id", type = IdType.INPUT)
    private Long tenantId;

    private Integer maxMembers;

    private Integer maxProjects;

    private Integer maxMonthlyCredits;

    private Integer maxConcurrentTasks;

    private BigDecimal monthlyBudgetLimit;

    private String notes;

    private LocalDateTime updatedAt;

    private Long updatedBy;
}
