# CbAdj.java

    package cloud.wconnect.finance.entity.chargeback;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    import java.io.Serializable;
    import java.math.BigDecimal;

    /**
     * <p>
     *
     * </p>
     *
     * @author yyt
     * @since 2023-08-22
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("cb_adj")
    public class CbAdj implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 审批单
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Long id;

        /**
         * 资产 id
         */
        private Integer propertyId;

        /**
         * 创建人
         */
        private Integer createBy;

        /**
         * 创建时间
         */
        private Long createTime;

        /**
         * Conf. Num.
         */
        private String confNumber;

        /**
         * Case Id
         */
        private Long caseId;

        /**
         * 责任选项(0:无,1:N/A,2:Employee`s Name)
         */
        private Integer mistakeType;

        /**
         * 责任描述/员工姓名（根据责任选项决定）
         */
        private String mistakeBy;

        /**
         * 来宾姓名或公司名
         */
        private String guestName;

        /**
         * 入住日期 (年月日)
         */
        private Long checkInDate;

        /**
         * 退房日期 (年月日)
         */
        private Long checkOutDate;

        /**
         * 房间号
         */
        private String roomNumber;

        /**
         * 调整金额
         */
        private BigDecimal disputeAmount;

        /**
         * 选择原因(1:Incorrect Company rate,2:Guest Relation/Complaint,3:Over payment,4:CHANGE Credit Card OR other Method of Payment,5:Incorrect Posting Correction will be posted,6:Other,7:Chargeback,8:DB Write Off)
         */
        private Integer choosedReason;

        /**
         * 备注
         */
        private String comment;

        /**
         * 附件
         */
        private String attachments;

        /**
         * Requested by
         */
        private Integer requestedBy;

        /**
         * Revenue lost (yes / no)
         */
        private Boolean revenueLost;

        /**
         * Adjustment Number
         */
        private String adjNumber;

        /**
         * Adjustment的 Transaction Code
         */
        private String trxCode;

        /**
         * Adjustment的 Transaction Description
         */
        private String trxDesc;

        /**
         * Adjustment的 Transaction Code PMS
         */
        private String trxCodePms;

        /**
         * Adjustment的 Transaction Description PMS
         */
        private String trxDescPms;

        /**
         * 类型，1：手动创建 2：绑定
         */
        private Integer type;

        /**
         * 更新人
         */
        private Integer updateBy;

        /**
         * 更新时间
         */
        private Long updateTime;

        /**
         * 类型
         */
        public static final int TYPE_MANUAL = 1;
        public static final int TYPE_BIND = 2;

    }