/*
 *      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.postchange.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_record_post_change")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PostChange对象", description = "網點出納主管及專管員崗位表更記錄表")
public class PostChange 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 type;
	/**
	* 鎖匙/密碼
	*/
		@ApiModelProperty(value = "鎖匙/密碼")
		private String keyPwd;
	/**
	* 持有人
	*/
		@ApiModelProperty(value = "持有人")
		private String holder;
	/**
	* 後備人員
	*/
		@ApiModelProperty(value = "後備人員")
		private String backupPerson;
	/**
	* 申請日期
	*/
		@ApiModelProperty(value = "申請日期")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd"
		)
		private Date applyDate;
	/**
	* 生效日期
	*/
		@ApiModelProperty(value = "生效日期")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd"
		)
		private Date effectiveDate;
	/**
	* 備註
	*/
		@ApiModelProperty(value = "備註")
		private String remark;
	/**
	* 審批人
	*/
		private Long personId;
		private String personNo;
		@ApiModelProperty(value = "審批人")
		private String personName;
	/**
	* 審批時間
	*/
		@ApiModelProperty(value = "審批時間")
		@DateTimeFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		@JsonFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
		)
		private Date approveTime;
	/**
	* 節點{ 2： 待确认， 3：已确认}
	*/
		@ApiModelProperty(value = "節點")
		private Integer process;
	/**
	* 是否已完成
	*/
		@ApiModelProperty(value = "是否已完成")
		private Integer isCompleted;
	/**
	* 上一条记录id
	*/
		@ApiModelProperty(value = "上一条记录id")
		private Long previousId;


}
