package com.changhu.module.management.pojo.vo;

import com.changhu.common.db.enums.IsOrNot;
import com.changhu.common.db.enums.ServiceProjectType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @author 20252
 * @createTime 2024/9/5 上午11:15
 * @desc ServiceProjectPagerVo...
 */
@Data
public class ServiceProjectPagerVo {

    @Schema(description = "id")
    private Long snowFlakeId;

    @Schema(description = "企事业单位id")
    private Long enterprisesUnitId;
    @Schema(description = "企事业单位名称")
    private String enterprisesUnitName;
    @Schema(description = "企事业单位行政区划编码")
    private List<String> enterprisesUnitAdministrativeDivisionCodes;

    @Schema(description = "项目经理小程序用户id")
    private Long projectManagerMiniProgramUserId;
    @Schema(description = "项目经理小程序用户名称")
    private String projectManagerMiniProgramUserName;

    @Schema(description = "服务项目名称")
    private String name;

    @Schema(description = "服务类型")
    private ServiceProjectType type;

    @Schema(description = "是否自招保安(只有当type为property 此字段必填)")
    private IsOrNot isRecruitSecurity;

    @Schema(description = "证件号(服务类型为保安必填 服务类型为物业则需自招保安为必填)")
    private String idNumber;

    @Schema(description = "服务区域面积")
    private Double serviceArea;

    @Schema(description = "楼栋数量")
    private Integer buildingTotal;

    @Schema(description = "户数")
    private Integer houseTotal;

    @Schema(description = "工作人员数量")
    private Integer staffTotal;

    @Schema(description = "保安人员数量")
    private Integer securityUserTotal;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建人名称")
    private String createUserName;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
