package com.yuchen.saas.park.api.entity.property;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;


@Data
@TableName("property_bill_refund")
@ApiModel(value="退款记录对象", description="退款记录对象")
public class PropertyBillRefund  {

    /**
     * id主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 园区id
     */
    private Long parkId;
    /**
     * 客户id
     */
    private Long customerId;
    /**
     * 房源id
     */
    private Long houseId;
    /**
     * 退款类型; 1-线上退款，2-线下退款
     */
    private Integer refundType;
    /**
     * 账单类型
     * CreateBillTypeEnum
     */
    private Integer createBillType;
    /**
     * 退款金额; 分
     */
    private long refundAmtFen;
    /**
     * 退款原因
     */
    private String refundReason;
    /**
     * 退款时间
     */
    private Date refundTime;
    /**
     * 退款单号
     */
    private String refundNum;
    /**
     * 创建人
     */
    private Long createUser;
    /**
     * 创建时间
     */
    private Date createTime;

}
