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

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-09-23
 */
@Data
@TableName("zh_auto_struct")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AutoStruct对象", description = "AutoStruct对象")
public class AutoStruct extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 表名
	*/
		@ApiModelProperty(value = "表名")
		private String name;
	/**
	* 列结构
	*/
		@ApiModelProperty(value = "列结构")
		private String columns;

	/**
	 * 填寫部門
	 */
		@ApiModelProperty(value = "填寫部門")
		private String deptId;
	/**
	 * 填寫角色
	 */
		@ApiModelProperty(value = "填寫角色")
		private String roleId;
	/**
	 * 管理員角色
	 */
		@ApiModelProperty(value = "管理員角色")
		private String manageRoleId;
	/**
	 * 審批開關
	 */
		@ApiModelProperty(value = "審批開關")
		private Integer approveSwitch;
	/**
	 * 串并行（串：1，并：2）
	 */
		@ApiModelProperty(value = "串并行（串：1，并：2）")
		private Integer approveType;
	/**
	 * 設置類型{1：统一设置；2：逐级设置}
	 */
		@ApiModelProperty(value = "設置類型")
		private Integer settingType;
	/**
	 * 節點數
	 */
		@ApiModelProperty(value = "節點數")
		private Integer num;
	/**
	 * 审批设置
	 */
		@ApiModelProperty(value = "审批设置")
		private String setting;




}
