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

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.security.ht.entity.common.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 系统配置-设备类型设置实体类
 *
 * @author BladeX
 * @since 2022-03-03
 */
@Data
@TableName("T_DEVICE_CATEGORY_SETTINGS")
@ApiModel(value = "DeviceCategorySettings对象", description = "系统配置-设备类型设置")
public class DeviceCategorySettings implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@ApiModelProperty(value = "ID")
	@TableField("ID")
	private Long id;
	/**
	 * 创建人
	 */
//	@ExcelIgnore
	@ApiModelProperty(value = "创建人")
	@TableField(fill = FieldFill.INSERT)
	private String createdBy;
	/**
	 * 创建时间
	 */
//	@ExcelIgnore
	@ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private Date createdTime;
	/**
	 * 更新人
	 */
//	@ExcelIgnore
	@ApiModelProperty(value = "更新人")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private String updatedBy;
	/**
	 * 更新时间
	 */
//	@ExcelIgnore
	@ApiModelProperty(value = "更新时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updatedTime;
	/**
	 * 类型名称
	 */
	@ApiModelProperty(value = "类型名称")
	@TableField("NAME")
	private String name;
	/**
	 * 父类ID
	 */
	@ApiModelProperty(value = "父类ID")
	@TableField("PARENT_ID")
	private Long parentId;
	/**
	 * 状态;1-可用 0-停用
	 */
	@ApiModelProperty(value = "状态;1-可用 0-停用")
	@TableField("STATE")
	private BigDecimal state;
	/**
	 * 逻辑删除标识符;0-正常，1-删除
	 */
	@ApiModelProperty(value = "逻辑删除标识符;0-正常，1-删除")
	@TableField("DEL_FLAG")
	@TableLogic
	private String delFlag;
	/**
	 * 父类id串，用于前端级联显示
	 */
	@ApiModelProperty(value = "父类id串；用于前端级联显示")
	@TableField("RESERVE1")
	private String reserve1;
	/**
	 * 设备维保提醒提前天数（单位:天）
	 */
	@ApiModelProperty(value = "设备维保提醒提前天数（单位:天）")
	@TableField("remind_day")
	private int remindDay;

	/**
	 *检查频次
	 */
	@ApiModelProperty(value = "检查频次")
	@TableField("CHECK_FREQ")
	private String checkFreq;

}
