package cn.iocoder.yudao.module.system.dal.dataobject.biz;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;
import java.math.BigDecimal;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 退住结算单详情 DO
 *
 * @author 系统管理员
 */
@TableName("elderly_refund_settlement_order_item")
@KeySequence("elderly_refund_settlement_order_item_seq")
// 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RefundSettlementOrderItemDO {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "结算单ID", example = "26589")
    private Long refundSettlementOrderId;

    @Schema(description = "退款金额")
    private BigDecimal refundAmount;

    @Schema(description = "实际退款金额")
    private BigDecimal actualRefundAmount;

    @Schema(description = "备注")
    private String remarks;

    @Schema(description = "费用项名称", example = "芋艿")
    private String itemName;

    @Schema(description = "价格", example = "23199")
    private BigDecimal price;

    @Schema(description = "数量", example = "20785")
    private Integer count;

    @Schema(description = "费用类型,1.月度费用 2.日常杂费 3.一次性费用 4.押金费用 5.其他费用")
    private Integer type;

    @Schema(description = "结算状态，0：未结算 1：已结算")
    private Boolean status;

    @Schema(description = "来源费用项ID")
    private Long sourceItemId;


    private Long tenantId;
}