/*
 *      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.cardswallow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 自助設備吞卡資料实体类
 *
 * @author BladeX
 * @since 2021-08-12
 */
@Data
@TableName("zh_input_card_swallow")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CardSwallow对象", description = "自助設備吞卡資料")
public class CardSwallow 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 = "發送時間")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd"
		)
		private Date sendDate;
	/**
	* 發送支行
	*/
		@ApiModelProperty(value = "發送支行")
		private String sendBank;
		@ApiModelProperty(value = "發送支行機構號")
		private String sendOrgNo;
	/**
	* 卡號
	*/
		@ApiModelProperty(value = "卡號")
		private String cardNo;
	/**
	* 卡序號
	*/
		@ApiModelProperty(value = "卡序號")
		private String cardSerialNo;
	/**
	* 本行機/他行機
	*/
		@ApiModelProperty(value = "本行機/他行機")
		private String machine;
	/**
	* 機號
	*/
		@ApiModelProperty(value = "機號")
		private String machineNo;
	/**
	* 沒收卡日期
	*/
		@ApiModelProperty(value = "沒收卡日期")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd"
		)
		private Date swallowDate;
	/**
	* 卡狀態
	*/
		@ApiModelProperty(value = "卡狀態")
		private String cardStatus;
	/**
	* 發送狀態
	*/
		@ApiModelProperty(value = "發送狀態")
		private String sendStatus;
	/**
	* 備註
	*/
		@ApiModelProperty(value = "備註")
		private String remark;
	/**
	* 支行確認人員工號
	*/
		@ApiModelProperty(value = "支行確認人員工號")
		private String bankConfirmNo;
	/**
	* 支行確認人姓名
	*/
		@ApiModelProperty(value = "支行確認人姓名")
		private String bankConfirmName;
	/**
	* 確認日期
	*/
		@ApiModelProperty(value = "確認日期")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd HH:mm"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd HH:mm"
		)
		private Date bankConfirmTime;

	/**
	 * 審批人id
	 */
	@ApiModelProperty(value = "審批人id")
	private String personId;
	@ApiModelProperty(value = "審批人工号")
	private String personNo;
	@ApiModelProperty(value = "審批人姓名")
	private String personName;

	/**
	 * 節點{2：待發佈， 3： 待簽收， 4：已簽收}
	 */
	@ApiModelProperty(value = "節點")
	private Integer process;

}
