/*
 *      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.security.ht.entity.basic;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.security.ht.entity.common.BaseEntity;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2022-05-30
 */
@Data
@TableName("T_LAW")
@ApiModel(value = "Law对象", description = "Law对象")
public class Law extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	/**
	* 名称
	*/
		@ApiModelProperty(value = "名称")
		@TableField("NAME")
	private String name;
	/**
	* 类型 1-内部规章制度 2-外部法律法规
	*/
		@ApiModelProperty(value = "类型 1-内部规章制度 2-外部法律法规")
		@TableField("TYPE")
	private String type;
	/**
	* 上传机构
	*/
		@ApiModelProperty(value = "上传机构")
		@TableField("DEPT_ID")
	private String deptId;
	/**
	* 状态;1-可用 0-停用
	*/
		@ApiModelProperty(value = "状态;1-可用 0-停用")
		@TableField("STATE")
	private String state;
	/**
	* 逻辑删除标识符;1-删除，0-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;1-删除，0-正常")
		@TableField("DEL_FLAG")
	private String delFlag;
	/**
	* 法律法规类型（1-安防类，2-其他类）
	*/
		@ApiModelProperty(value = "法律法规类型（1-安防类，2-其他类）")
		@TableField("LAW_TYPE")
	private String lawType;
	/**
	* 附件groupname
	*/
		@ApiModelProperty(value = "附件groupname")
		@TableField("GROUP_NAME")
	private String groupName;
	/**
	 * 启用时间
	 */
	@ApiModelProperty(value = "启用时间")
	private Date openTime;
	/**
	 * 停用时间
	 */
	@ApiModelProperty(value = "停用时间")
	private Date closeTime;

}
