package com.newfiber.api.pc.model.entity; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * @author : zhangjun * @Project_name:newfiber_haimian_cihu * @date:2020/4/23 17:37 * @email:505724729@qq.com * @description:{todo} * @Exception: throw {todo} */ @Data @TableName("pro_site_equip") public class ProSiteEquipEntity { /** 主键 */ @ApiModelProperty(value = "主键") @JsonSerialize(using= ToStringSerializer.class) @TableId(type = IdType.AUTO) private Long id; /** 站点编号 */ @ApiModelProperty(value = "站点编号") private String siteNo; /** 设备编号 */ @ApiModelProperty(value = "设备编号") private String equipNo; }