package com.unis.detectionnum.server.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 告警参数表
 */
@Getter
@Setter
@Table(name = "s_alarm_param")
public class AlarmParamDO {
	
	/**
	 * 主键id
	 */
	@Column(name = "id")
    private Integer id;

	/**
	 * 总数报警阀值 单位吨
	 */
	@Column(name = "total_threshold")
    private Double totalThreshold;

	/**
	 * 逐次报警阀值 单位吨
	 */
	@Column(name = "time_threshold")
    private Double timeThreshold;

	/**
	 * 电话通知 电话1
	 */
	@Column(name = "telephone_number1")
    private String telephoneNumber1;

	/**
	 * 电话通知 电话2
	 */
	@Column(name = "telephone_number2")
    private String telephoneNumber2;

	/**
	 * 短息通知 电话1
	 */
	@Column(name = "sms_number1")
    private String smsNumber1;

	/**
	 * 短信通知 电话2
	 */
	@Column(name = "sms_number2")
    private String smsNumber2;

	/**
	 * 报警状态  1:启用 0:未启用
	 */
	@Column(name = "status")
    private Integer status;

	/**
	 * 仓房编号
	 */
	@Column(name = "cfbh")
    private String cfbh;

	/**
	 * 仓房名称
	 */
	@Column(name = "cfmc")
    private String cfmc;

	/**
	 * 总吨数
	 */
	@ApiModelProperty(value = "总数报警阀值 单位吨")
	private Double lsZl;


	/**
	 * 总数报警状态  1:启用 0:未启用
	 */
	@ApiModelProperty(value = "总数报警状态  1:启用 0:未启用")
	private Integer totalStatus;

	/**
	 * 是否为出入库 1:出入库 0：库存
	 */
	@ApiModelProperty(value = "是否为出入库 1:出入库 0：库存")
	private Integer isOut;
}