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_fulltime_station * * @author lyq * @date 2022-11-03 */ @Data @ApiModel(description = "数据中心专职站管理对象实体类对象", value = "数据中心专职站管理对象") public class CenterdataTFirecontrolFulltimeStation 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 address; /** * 负责人 */ @ApiModelProperty(value = "负责人", required = true) @Excel(name = "负责人") @NotBlank(message = "负责人不能为空") private String principal; /** * 联系电话 */ @ApiModelProperty(value = "联系电话", required = true) @Excel(name = "联系电话") @NotBlank(message = "联系电话不能为空") private String contactsPhone; /** * 经度 */ @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 = true) @Excel(name = "名称") @NotBlank(message = "名称不能为空") private String name; public List getdeviceList() { return deviceList; } @ApiModelProperty(value = "setdeviceList", required = false) public void setdeviceList(List deviceList) { this.deviceList = deviceList; } @ApiModelProperty(value = "deviceList", required = false) @JsonProperty("deviceList") private List deviceList; @ApiModelProperty(value = "getName", required = false) public String getName() { return name; } public void setName(String name) { this.name = name; } public void setId(String id) { this.id = id; } public String getId() { return id; } public void setAddress(String address) { this.address = address; } public String getAddress() { return address; } public void setPrincipal(String principal) { this.principal = principal; } public String getPrincipal() { return principal; } public void setContactsPhone(String contactsPhone) { this.contactsPhone = contactsPhone; } public String getContactsPhone() { return contactsPhone; } 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 void setDeptId(Long deptId) { this.deptId = deptId; } public Long getDeptId() { return 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("address", getAddress()) .append("principal", getPrincipal()) .append("contactsPhone", getContactsPhone()) .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(); } }