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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import java.util.Date;

/**
 * <p>
 * 线下缴费记录(线下缴费审核)
 * </p>
 *
 * @author cxj
 * @since 2023-12-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("property_offline_payment_record")
@ApiModel(value="PropertyOfflinePaymentRecord对象", description="线下缴费记录(线下缴费审核)")
public class PropertyOfflinePaymentRecord extends TenantEntity {

    /**
     * 园区id
     */
    @ApiModelProperty(name = "parkId", value = "园区id")
    private Long parkId;
    /**
     * 房源id
     */
    @ApiModelProperty(name = "houseId", value = "房源id")
    private Long houseId;
    /**
     * 资源代码
     */
    @ApiModelProperty(name = "resourceCode", value = "资源代码")
    private String resourceCode;
    /**
     * 客户名称
     */
    @ApiModelProperty(name = "customerName", value = "客户名称")
    private String customerName;
    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;
    /**
     * 客户类型(1:机构 2:个人)
     */
    @ApiModelProperty(name = "customerType", value = "客户类型(1:机构 2:个人)")
    private Integer customerType;
    /**
     * 应收金额;单位：分
     */
    @ApiModelProperty(name = "receivableAmtFen", value = "应收金额;单位：分")
    private Long receivableAmtFen;
    /**
     * 已缴金额;单位：分
     */
    @ApiModelProperty(name = "payAmtFen", value = "已缴金额;单位：分")
    private Long payAmtFen;
    /**
     * 付款人员
     */
    @ApiModelProperty(name = "payUser", value = "付款人员")
    private String payUser;
    /**
     * 付款账户
     */
    @ApiModelProperty(name = "payAccount", value = "付款账户")
    private String payAccount;
    /**
     * 付款时间
     */
    @ApiModelProperty(name = "payTime", value = "付款时间")
    private Date payTime;
    /**
     * 付款方式:1微信转账,2支付宝转账,3银行卡转账,4现金,5支票
     */
    @ApiModelProperty(name = "payType", value = "付款方式:1微信转账,2支付宝转账,3银行卡转账,4现金,5支票")
    private Integer payType;
    /**
     * 收款人员
     */
    @ApiModelProperty(name = "payee", value = "收款人员")
    private String payee;

    @ApiModelProperty(name = "payee", value = "收款时间")
    private Date payeeTime;
    /**
     * 收款账户
     */
    @ApiModelProperty(name = "payeeAccount", value = "收款账户")
    private String payeeAccount;
    /**
     * 收款单号
     */
    @ApiModelProperty(name = "payeeOrder", value = "收款单号")
    private String payeeOrder;
    /**
     * 收款截图,按逗号隔开
     */
    @ApiModelProperty(name = "payeeFile", value = "收款截图,按逗号隔开")
    private String payeeFile;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 登记方式:1管理员登记,2租客登记
     */
    @ApiModelProperty(name = "registerType", value = "登记方式:1管理员登记,2租客登记")
    @TableField("register_Type")
    private Integer registerType;
    /**
     * 审核状态（0 待审核 1 进行中 2 已完成 3 已撤回 4 已拒绝））
     */
    @ApiModelProperty(name = "reviewState", value = "审核状态（0 待审核 1 进行中 2 已完成 3 已撤回 4 已拒绝）")
    private Integer reviewState;
    /**
     * 审核用户账号id
     */
    @ApiModelProperty(name = "reviewUserId", value = "审核用户账号id")
    private Long reviewUserId;
    /**
     * 审核用户名称
     */
    @ApiModelProperty(name = "reviewUserName", value = "审核用户名称")
    private String reviewUserName;

    @ApiModelProperty(name = "createUserName", value = "创建人名字")
    private String createUserName;
    /**
     * 审核时间
     */
    @ApiModelProperty(name = "reviewTime", value = "审核时间")
    private Date reviewTime;
    /**
     * 业务类型:
     * 对应：AccountBizTypeEnum
     */
    @ApiModelProperty(name = "businessType", value = "业务类型:todo")
    private Integer businessType;
    /**
     * 业务id
     */
    @ApiModelProperty(name = "businessId", value = "业务id")
    private Long businessId;



}
