package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 促销取消欠款明细(CancelDebtMx)实体类
 *
 * @author makejava
 * @since 2022-05-07 11:27:20
 */

@Table(name = "cancel_debt_mx")
@Setter
@Getter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class CancelDebtMxRequest implements Serializable {
    /**
     * Id
     */
    @Id
    private Long id;
    /**
     * 疗程卡包Id
     */
    @Column(name = "course_id")
    private Long courseId;
    /**
     * 取消欠款金额
     */
    @Column(name = "cancel_money")
    private BigDecimal cancelMoney;
    /**
     * 取消欠款次数
     */
    @Column(name = "cancel_num")
    private Integer cancelNum;
    /**
     * 取消欠款单主表Id
     */
    @Column(name = "cancel_debt_id")
    private Long cancelDebtId;
    /**
     * 开卡疗程ID
     */
    @Column(name = "course_project_name")
    private Long courseProjectId;
    /**
     * 开卡疗程名称
     */
    @Column(name = "course_project_name")
    private String courseProjectName;
    /**
     * 项目编码
     */
    @Column(name = "course_project_num")
    private String courseProjectNum;
    /**
     * 欠款金额
     */
    @Column(name = "debt_money")
    private BigDecimal debtMoney;
    /**
     * 欠款次数
     */
    @Column(name = "debt_count")
    private BigDecimal debtCount;
    /**
     * 促销单据Id
     */
    @Column(name = "doc_promotion_id")
    private Long docPromotionId;
}

