HotSpot.java 4.57 KB
Newer Older
liqin's avatar
liqin committed
1 2
package cn.wisenergy.chnmuseum.party.model;

liqin's avatar
liqin committed
3 4 5 6 7
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
liqin's avatar
liqin committed
8 9 10
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
liqin's avatar
liqin committed
11
import java.util.Date;
liqin's avatar
liqin committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222

/**
 * <p>
 * 网点热点区域表
 * </p>
 *
 * @author 杨智平
 * @since 2018-08-29
 */
@TableName("hot_spot")
public class HotSpot extends Model<HotSpot> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ApiModelProperty("唯一标识")
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    /**
     * 所属网点ID
     */
    @ApiModelProperty("所属网点ID")
    @TableField("bank_branch_id")
    private String bankBranchId;
    /**
     * 热点名称
     */
    @ApiModelProperty("热点名称")
    private String name;
    /**
     * 热点备注
     */
    @ApiModelProperty("热点备注")
    private String note;
    /**
     * 热点坐标,可以是点,线,或者面
     */
    @ApiModelProperty("热点坐标,可以是点,线,或者面")
    private String coordinate;
    /**
     * 热点宽度
     */
    @ApiModelProperty("热点宽度")
    private String width;
    /**
     * 热点高度
     */
    @ApiModelProperty("热点高度")
    private String height;
    /**
     * 旋转角度
     */
    @ApiModelProperty("旋转角度")
    @TableField("rotation_angle")
    private String rotationAngle;

    /**
     * 热点类型
     */
    @ApiModelProperty("热点类型  Point   polygon")
    @TableField("type")
    private String type;

    /**
     * 热点图标地址
     */
    @ApiModelProperty("热点图标地址")
    @TableField("image_url")
    private String imageUrl;



    /**
     * 创建时间
     */
    @ApiModelProperty(hidden = true)
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(hidden = true)
    @TableField("update_time")
    private Date updateTime;





    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBankBranchId() {
        return bankBranchId;
    }

    public void setBankBranchId(String bankBranchId) {
        this.bankBranchId = bankBranchId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getRotationAngle() {
        return rotationAngle;
    }

    public void setRotationAngle(String rotationAngle) {
        this.rotationAngle = rotationAngle;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    @Override
    public String toString() {
        return "HotSpot{" +
                ", id=" + id +
                ", bankBranchId=" + bankBranchId +
                ", name=" + name +
                ", note=" + note +
                ", coordinate=" + coordinate +
                ", width=" + width +
                ", height=" + height +
                ", rotationAngle=" + rotationAngle +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", imageUrl=" + imageUrl +
                ", type=" + type +
                "}";
    }
}