/*
 *      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.sealhandover.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-13
 */
@Data
@TableName("zh_input_seal_handover")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SealHandover对象", description = "業務印章交接登記表")
public class SealHandover 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 sealType;
	/**
	* 印章編號
	*/
		@ApiModelProperty(value = "印章編號")
		private String sealNo;
	/**
	* 交出人員工號
	*/
		@ApiModelProperty(value = "交出人員工號")
		private String handoverPersonNo;
	/**
	* 交出人姓名
	*/
		@ApiModelProperty(value = "交出人姓名")
		private String handoverPersonName;
	/**
	* 交接日期
	*/
		@ApiModelProperty(value = "交接日期")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd HH:mm"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd HH:mm"
		)
		private Date handoverDate;
	/**
	* 接收人員工號
	*/
		@ApiModelProperty(value = "接收人員工號")
		private String receiverNo;
	/**
	* 接收人姓名
	*/
		@ApiModelProperty(value = "接收人姓名")
		private String receiverName;
	/**
	* 備註
	*/
		@ApiModelProperty(value = "備註")
		private String remark;
	/**
	* 填報時間
	*/
		@ApiModelProperty(value = "填報時間")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		private Date fillingDate;
	/**
	* 確認時間
	*/
		@ApiModelProperty(value = "確認時間")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		private Date sureTime;
	/**
	* 填報人
	*/
		@ApiModelProperty(value = "填報人")
		private String fillingPerson;
	/**
	 * 是否上繳至上級單位
	 */
	@ApiModelProperty(value = "是否上繳至上級單位")
	private Integer isTurnIn;


	@ApiModelProperty(value = "接收人Id")
	private Long receiverId;
	@ApiModelProperty(value = "交出人id")
	private Long handoverPersonId;

	/**
	 * 節點{2：待確認， 3： 已確認}
	 */
	@ApiModelProperty(value = "節點")
	private Integer process;

	private Long pid;

}
