package org.dromara.system.domain;

import lombok.Builder;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;
import io.swagger.v3.oas.annotations.media.Schema;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Schema(description = "租户账户实体")
public class SysTenantAccount extends BaseAudit {
    @Schema(description = "主键ID")
    private Long id;
    @Schema(description = "租户ID")
    private String tenantId;
    @Schema(description = "现金余额")
    private BigDecimal moneyBalance;
    @Schema(description = "钱包余额")
    private BigDecimal wallet;
    @Schema(description = "营收")
    private BigDecimal revenue;
    @Schema(description = "创建人")
    private Long createBy;
    @Schema(description = "更新人")
    private Long updateBy;
    @Schema(description = "账户类型(0.店铺 1.代理 2.推广人)")
    private Integer type;
}
