package com.zcloud.zcGbsServicer.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class FireBrigadeCO extends ClientObject {

    private Long id;
    private String fireBrigadeId;

    @JsonProperty("name")
    private String brigadeName;

    @JsonProperty("leaderDept")
    private String leaderDeptName;

    private String org;

    private Long leaderUserId;

    @JsonProperty("leader")
    private String leaderName;

    private String leaderPhone;
    private String address;
    private String dutyPhone;

    @JsonProperty("founded")
    private LocalDate establishDate;

    @JsonProperty("vehicles")
    private Integer vehicleCount;

    @JsonProperty("desc")
    private String brigadeInfo;

    private Integer memberCount;

    @ApiModelProperty("是否在线，列表接口返回缓存值（首次默认未在线，后台异步刷新）")
    private Boolean online;

    @ApiModelProperty("在线状态文案")
    private String onlineText;
}
