package com.njzscloud.supervisory.station.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 站点管理员
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("station_manage")
public class StationManageEntity {

    /**
     * Id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 站点 Id
     */
    private Long stationId;

    /**
     * 用户 Id
     */
    private Long userId;

    /**
     * 是否启用; 0-->否、1-->是
     */
    private Boolean canuse;

}
