package com.xunmei.core.resumption.vo.protection;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProtectionPageVo {
    @ApiModelProperty("编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

//    /**
//     * 序号
//     */
//    private  Integer order;

    @ApiModelProperty("机构名称")
    private String orgName;

    @ApiModelProperty("防区的名称")
    private String name;

    @ApiModelProperty("防区状态")
    private String status;

    /**
     * 24小时防区
     */
    private Integer allHour;

    /**
     * 布撤防时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private  Date statusUpdateTime;
}
