package com.zcloud.fire.check.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;


/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-11-26 10:12:34
 */
@Data
public class FireDeviceCO {
    //主键
    @ApiModelProperty(value = "主键")
    private Long id;
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String fireDeviceId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //消防区域id
    @ApiModelProperty(value = "消防区域id")
    private String fireRegionId;
    //消防点位id
    @ApiModelProperty(value = "消防点位id")
    private String firePointId;
    //部门id
    @ApiModelProperty(value = "部门id")
    private Long departmentId;
    //消防器材类型
    @ApiModelProperty(value = "消防器材类型")
    private String fireDeviceType;
    //消防器材类型名称
    @ApiModelProperty(value = "消防器材类型名称")
    private String fireDeviceTypeName;
    //器材编号
    @ApiModelProperty(value = "器材编号")
    private String fireDeviceCode;
    //有效期开始时间
    @ApiModelProperty(value = "有效期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate validityStartTime;
    //有效期结束时间
    @ApiModelProperty(value = "有效期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate validityEndTime;
    //存放地点
    @ApiModelProperty(value = "存放地点")
    private String storageLocation;

    //消防区域名称
    @ApiModelProperty(value = "消防区域名称")
    private String fireRegionName;
    //消防区域编码
    @ApiModelProperty(value = "消防区域编码")
    private String fireRegionCode;
    //消防点位名称
    @ApiModelProperty(value = "消防点位名称")
    private String firePointName;
    //消防点位编码
    @ApiModelProperty(value = "消防点位编码")
    private String firePointCode;
    //部门名称
    @ApiModelProperty(value = "部门名称")
    private String departmentName;
     //负责人
    @ApiModelProperty(value = "负责人")
    private String userName;
    @ApiModelProperty(value = "负责人岗位")
    @TableField(exist = false)
    private String userPostName;

    //创建人姓名
    @ApiModelProperty(value = "创建人姓名")
    private String createName;
    //创建时间
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    //修改人名称
    @ApiModelProperty(value = "修改人名称")
    private String updateName;
    //更新时间
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //描述
    @ApiModelProperty(value = "描述")
    private String remarks;
    @ApiModelProperty(value = "企业名称")
    private String corpName;
    //消防器材检查标准列表
    @ApiModelProperty(value = "消防器材检查标准列表")
    private List<FireCheckStandardCO> fireCheckStandardList;

    @ApiModelProperty(value = "经度")
    private String longitude;
    @ApiModelProperty(value = "纬度")
    private String latitude;

}

