/**
 * Copyright 2019 DH
 * All right reserved.
 * 项目名称: 大恒泰山系统
 * 创建日期:2022/8/22
 */
package org.springblade.modules.baseinfo.project.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/***
 * Date:2022/8/22
 * Title:文件所属模块（必须填写）
 * Description：对本文件的详细描述，原则上不能少于30字
 * @author dylan
 * @version 1.0
 * Remark：认为有必要的其他信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("project_info")
public class ProjectInfoEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;
	/**
	 * 租户ID
	 */
	@ApiModelProperty("租户ID")
	private String tenantId;


	/**
	 * 项目名称
	 */
	@ApiModelProperty(value = "项目名称")
	private String projectName;

	/**
	 * 机构ID
	 */
	@ApiModelProperty(value = "机构ID")
	private Long orgId;

	/**
	 * 项目负责人
	 */
	@ApiModelProperty(value = "项目负责人")
	private String manageName;

	/**
	 * 联系电话
	 */
	@ApiModelProperty(value = "联系电话")
	private String contactPhone;

	/**
	 * 邮箱
	 */
	@ApiModelProperty(value = "邮箱")
	private String mail;

	/**
	 * 规约ID
	 */
	@ApiModelProperty(value = "规约ID")
	private Long agreementId;

	/**
	 * 供电方式ID
	 */
	@ApiModelProperty(value = "供电方式ID")
	private Long powerTypeId;


	/**
	 * 备注说明
	 */
	@ApiModelProperty(value = "备注说明")
	private String remark;

	/**
	 * 测站导入时间
	 */
	@DateTimeFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss",
		timezone = "GMT+8"
	)
	@ApiModelProperty(value = "测站导入时间")
	private String importTime;

	/**
	 * 预警开关
	 */
	@ApiModelProperty(value = "预警开关")
	private Integer warnActive;

	/**
	 * 延时时长
	 */
	@ApiModelProperty(value = "延时时长")
	private Integer delayTime;
}
