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

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 押金记录表
 */
@Data
@TableName("property_deposit")
public class PropertyDeposit implements Serializable {

    /**
     * id主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 园区id
     */
    private Long parkId;
    /**
     * 客户id
     */
    private Long customerId;
    /**
     * 收费标准id
     */
    private Long feeId;
    /**
     * 押金金额
     */
    private long depositAmtFen;
    /**
     * 退款金额
     */
    private long refundAmtFen;
    /**
     * 收费开始时间
     */
    private Date startDate;
    /**
     * 收费结束时间
     */
    private Date endDate;
    /**
     * 是否退款 0-否，1-是
     */
    private int isRefund;
    /**
     * 收费状态 0-未收，1-已收
     */
    private int chargeType;
    /**
     * 押金状态 DepositStatusEnum
     */
    private int depositStatus;
    /**
     * 收费方式; 1-现金，2-第三方转账，3-银行卡转账，4-在线支付
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer payType;
//    /**
//     * 退款方式;1-在线原路退回，2-第三方转账，3-银行卡转账
//     */
//    private Integer refundType;
    /**
     * 付款时间
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date payTime;
    /**
     * 退款时间
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date refundTime;
    /**
     * 付款人员
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String payUser;
    /**
     * 收费人员
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String receiveUser;
    /**
     * 第三方类型; 1-微信，2-支付宝
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer thirdPartyType;
    /**
     * 付款银行
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String payBank;
    /**
     * 付款账户
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String payAccount;
    /**
     * 收款银行
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String receiveBank;
    /**
     * 收款账户
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String receiveAccount;
    /**
     * 交易单号
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String transactionNum;
    /**
     * 交易截图
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String filePath;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建人
     */
    private Long createUser;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新人
     */
    private Long updateUser;
    /**
     * 更新时间
     */
    private Date updateTime;


}
