package cn.iocoder.yudao.module.system.api.order.DTO;

import lombok.Builder;
import lombok.Data;

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

/**
 * @Author: jinyd
 * @CreateTime: 2025/1/2  10:47
 * @Description:
 * @Version: 4.0
 */


@Data
public class OrderItemRespDTO {

    private Integer sort;

    private Long id;

    private Long orderId;

    private String elderName;

    private String billingMonth;

    private Integer elderSex;

    private Integer elderAge;

    // 楼层
    private String buildName;

    // 房间号
    private String bedName;

    // 房间类型
    private String bedItemName;

    // 护理等级
    private String nurseLevelName;

    // 照护类型，1：供养，2：寄养，3：托养
    private Integer careType;

    // 合同开始日期
    private LocalDate begintime;

    // 合同截止日期
    private LocalDate expireTime;

    // 合同年限
    private Integer contractTerm;

    private String contractNumber;

    private BigDecimal bedAmount;

    private BigDecimal mealAmount;

    private BigDecimal nurseAmount;

    private BigDecimal serviceAmount;

    private BigDecimal totalAmount;

    // 调整金额
    private BigDecimal adjustAmount;

    private BigDecimal bedActualAmount;

    private BigDecimal mealActualAmount;

    private BigDecimal nurseActualAmount;

    private BigDecimal serviceActualAmount;

    private BigDecimal totalActualAmount;


    // 实际与标准占比
    private String actualProportion;

    // 入院状态
    private Integer inStatus;

    // 退住时间（elderly_info.check_out_time），用于按查询月份修正退住/在住口径
    private Date checkOutTime;

    // 入住时间（elderly_info.check_in_time），用于按查询月份判断是否为新入住
    private Date checkInTime;

    //所属地址
    private String address;

    private Integer payStatus;

    /**
     * 账单类型，1：入院账单 2：月度账单 3：试住账单 4：零星账单
     */
    private Integer orderType;

    // 欠费金额
    private BigDecimal arrearsAmount;

    // 虚拟账户余额
    private BigDecimal virtualBalance;

    // 长护险余额
    private BigDecimal expenseSubsidyBalance;

    // 额外点餐
    private BigDecimal orderFoodAmount;

    // 商店购物
    private BigDecimal orderShopAmount;

    // 额外护理
    private BigDecimal orderNursingAmount;

    // 额外服务
    private BigDecimal orderServiceAmount;

    // 水电费
    private BigDecimal orderWaterElectricityAmount;

    // 增值服务费
    private BigDecimal extraServiceAmount;

    // 备注
    private String remark;

    private Integer tenantId;

    private Integer orgType;

}
