package com.yhy.module.core.dal.dataobject.quota;

import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 定额调整明细 DO
 *
 * @author 芋道源码
 */
@TableName("yhy_quota_adjustment_detail")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QuotaAdjustmentDetailDO extends TenantBaseDO {

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 调整设置ID
     */
    private Long adjustmentSettingId;

    /**
     * 定额调整编号（引用其他调整设置ID）
     */
    private Long adjustmentCode;

    /**
     * 调整内容
     */
    private String adjustment;

    /**
     * 排序
     */
    private Integer sortOrder;

}
