package com.sooka.sponest.data.digitalfirecontrol.domain; import com.fasterxml.jackson.annotation.JsonProperty; import com.ruoyi.common.core.annotation.Excel; import com.sooka.sponest.data.base.domain.BaseBusinessEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import javax.validation.constraints.NotBlank; import java.util.List; /** * 重点场所管理对象 centerdata_t_firecontrol_fire_key_places * * @author ruoyi * @date 2023-02-25 */ @Data @ApiModel(description = "数据中心重点场所实体类对象", value = "数据中心重点场所对象") public class CenterdataTFirecontrolFireKeyPlaces extends BaseBusinessEntity { private static final long serialVersionUID = 1L; /** * 主键id */ @ApiModelProperty(value = "主键id", required = false) private String id; /** * 名称 */ @ApiModelProperty(value = "名称", required = true) @Excel(name = "名称") @NotBlank(message = "名称不能为空") private String name; /** * 地址 */ @ApiModelProperty(value = "地址", required = true) @Excel(name = "地址") @NotBlank(message = "地址不能为空") private String address; /** * 联系人 */ @ApiModelProperty(value = "联系人", required = true) @Excel(name = "联系人") @NotBlank(message = "联系人不能为空") private String person; /** * 联系电话 */ @ApiModelProperty(value = "联系电话", required = true) @Excel(name = "联系电话") @NotBlank(message = "联系电话不能为空") private String phone; /** * 经度 */ @ApiModelProperty(value = "经度", required = true) @Excel(name = "经度") @NotBlank(message = "经度不能为空") private String longitude; /** * 纬度 */ @ApiModelProperty(value = "纬度", required = true) @Excel(name = "纬度") @NotBlank(message = "纬度不能为空") private String latitude; /** * 部门id */ @ApiModelProperty(value = "部门id", required = false) private Long deptId; /** * 所属部门 */ @ApiModelProperty(value = "所属部门", required = true) @Excel(name = "所属部门") @NotBlank(message = "所属部门不能为空") private String deptName; /** * 图片上传路径 */ @ApiModelProperty(value = "图片上传路径", required = false) private String attachPaths; /** * 图片来源 */ @ApiModelProperty(value = "图片来源", required = false) private String busSource; public List getdeviceList() { return deviceList; } public void setdeviceList(List deviceList) { this.deviceList = deviceList; } @JsonProperty("deviceList") private List deviceList; public void setId(String id) { this.id = id; } public String getId() { return id; } public void setName(String name) { this.name = name; } public String getName() { return name; } public void setAddress(String address) { this.address = address; } public String getAddress() { return address; } public void setPerson(String person) { this.person = person; } public String getPerson() { return person; } public void setPhone(String phone) { this.phone = phone; } public String getPhone() { return phone; } public void setLongitude(String longitude) { this.longitude = longitude; } public String getLongitude() { return longitude; } public void setLatitude(String latitude) { this.latitude = latitude; } public String getLatitude() { return latitude; } public Long getDeptId() { return deptId; } public void setDeptId(Long deptId) { this.deptId = deptId; } public void setDeptName(String deptName) { this.deptName = deptName; } public String getDeptName() { return deptName; } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("name", getName()) .append("address", getAddress()) .append("person", getPerson()) .append("phone", getPhone()) .append("longitude", getLongitude()) .append("latitude", getLatitude()) .append("deptId", getDeptId()) .append("deptName", getDeptName()) .append("createBy", getCreateBy()) .append("createName", getCreateName()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateName", getUpdateName()) .append("updateTime", getUpdateTime()) .toString(); } }