/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.bank.returns.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 新開戶退件登記表实体类
 *
 * @author BladeX
 * @since 2021-08-13
 */
@Data
@TableName("zh_input_returns")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Returns对象", description = "新開戶退件登記表")
public class Returns extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 銀行號
	*/
		@ApiModelProperty(value = "銀行號")
		private String bankNo;
	/**
	* 機構號
	*/
		@ApiModelProperty(value = "機構號")
		private String orgNo;
	/**
	 * 機構名稱
	 */
	@ApiModelProperty(value = "機構名稱")
	private String orgName;
	/**
	* 序號
	*/
		@ApiModelProperty(value = "序號")
		private String serialNo;
	/**
	* 支行
	*/
		@ApiModelProperty(value = "支行")
		private String subBank;
	/**
	* 支行機構號
	*/
		@ApiModelProperty(value = "支行機構號")
		private String subOrgNo;
	/**
	* 客戶名稱
	*/
		@ApiModelProperty(value = "客戶名稱")
		private String customerName;
	/**
	* 退件原因
	*/
		@ApiModelProperty(value = "退件原因")
		private String reason;
	/**
	* 備註
	*/
		@ApiModelProperty(value = "備註")
		private String remark;
	/**
	* 條碼
	*/
		@ApiModelProperty(value = "條碼")
		private String barCode;
	/**
	* 接辦行經辦
	*/
		@ApiModelProperty(value = "接辦行經辦")
		private String handlingBank;
	/**
	* 接辦行覆核
	*/
		@ApiModelProperty(value = "接辦行覆核")
		private String handlingBankReview;
	/**
	* 處理日期
	*/
		@ApiModelProperty(value = "處理日期")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd"
		)
		private Date handlingDate;
	/**
	* 經辦
	*/
		@ApiModelProperty(value = "經辦")
		private String handler;
	/**
	* 處理狀態
	*/
		@ApiModelProperty(value = "處理狀態")
		private String handlingStatus;
	/**
	* 支行備註
	*/
		@ApiModelProperty(value = "支行備註")
		private String bankRemark;
	/**
	* 支行確認人員工號
	*/
		@ApiModelProperty(value = "支行確認人員工號")
		private String bankConfirmNo;
	/**
	* 支行確認人姓名
	*/
		@ApiModelProperty(value = "支行確認人姓名")
		private String bankConfirmName;
	/**
	* 確認日期
	*/
		@ApiModelProperty(value = "確認日期")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		private Date bankConfirmTime;
	/**
	* 審批人
	*/
		@ApiModelProperty(value = "審批人")
		private String personId;
		private String personName;
		private String personNo;
	/**
	* 審批時間
	*/
		@ApiModelProperty(value = "審批時間")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		private Date approveTime;
	/**
	* 節點{2：待发布， 3： 待确认， 4：已确认}
	*/
		@ApiModelProperty(value = "節點")
		private Integer process;
	/**
	* 是否已完成
	*/
		@ApiModelProperty(value = "是否已完成")
		private Integer isCompleted;
	/**
	* 是否對公
	*/
		@ApiModelProperty(value = "是否對公")
		private String isPublic;


}
