package com.ltkj.hosp.domain; import com.baomidou.mybatisplus.annotation.TableId; import com.ltkj.common.annotation.Excel; import com.ltkj.common.core.domain.BaseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import java.math.BigDecimal; /** * 结账详情对象 tj_toll_collector_detail * * @author ltkj_赵佳豪&李格 * @date 2023-03-06 */ @Data @ApiModel(value = "结账详情对象") public class TjTollCollectorDetail extends BaseEntity { private static final long serialVersionUID = 1L; /** * id */ @TableId private String id; /** * 结账号 */ @Excel(name = "结账号") @ApiModelProperty(value = "结账号") private String accountId; /** * 付款方式 */ @Excel(name = "付款方式",dictType="dict_pay_method") @ApiModelProperty(value = "付款方式") private String payType; /** * 收款金额 */ @Excel(name = "收款金额") @ApiModelProperty(value = "收款金额") private BigDecimal amountReceived; /** * 退款金额 */ @Excel(name = "退款金额") @ApiModelProperty(value = "退款金额") private BigDecimal refundAmount; /** * 应交款 */ @Excel(name = "应交款") @ApiModelProperty(value = "应交款") private BigDecimal payable; @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("accountId", getAccountId()) .append("payType", getPayType()) .append("amountReceived", getAmountReceived()) .append("refundAmount", getRefundAmount()) .append("payable", getPayable()) .append("createBy", getCreateBy()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateTime", getUpdateTime()) .append("deleted", getDeleted()) .toString(); } }