package com.yuchen.saas.manage.system.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


@Data
@TableName("pmg_bat_park_operator")
@ApiModel(value = "运营商对象", description = "运营商对象")
public class Operator implements Serializable {

    private static final long serialVersionUID = 1L;


    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;


    @ApiModelProperty(value = "租户ID")
    private String tenantId;


    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "机构主键")
    private Long deptId;


    @ApiModelProperty(value = "是否冻结")
    private Integer isFrozen;

    @ApiModelProperty(value = "是否失效")
    private Integer opStatus;




}
