package com.usky.ems.service.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 项目新增/修改请求（对齐 ems_project + 设备系统列表）
 */
@Data
public class EmsProjectSaveRequest {

    @ApiModelProperty("主键，修改时必填")
    private Long id;

    private Long spaceId;

    @ApiModelProperty(value = "名称", required = true)
    private String name;

    @ApiModelProperty("平台名称")
    private String platformName;

    @ApiModelProperty("简称")
    private String abbreviation;

    @ApiModelProperty("项目面积")
    private BigDecimal area;

    @ApiModelProperty("公区面积")
    private BigDecimal commonArea;

    @ApiModelProperty("空调面积")
    private BigDecimal airConditionedArea;

    @ApiModelProperty("常驻人数")
    private Integer residentPopulation;

    @ApiModelProperty(value = "省编码", required = true)
    private String provinceCode;

    @ApiModelProperty(value = "市编码", required = true)
    private String cityCode;

    @ApiModelProperty(value = "区编码", required = true)
    private String districtCode;

    @ApiModelProperty("地理位置")
    private String location;

    @ApiModelProperty("项目地址")
    private String address;

    @ApiModelProperty(value = "项目类型ID", required = true)
    private Integer typeId;

    @ApiModelProperty(value = "项目类型名称", required = true)
    private String typeName;

    @ApiModelProperty("项目图片")
    private String image;

    @ApiModelProperty("项目简介")
    private String introduction;

    @ApiModelProperty("LOGO（大）")
    private String logo;

    @ApiModelProperty("LOGO（小）")
    private String logoMin;

    @ApiModelProperty("设备系统字典值列表（对应 ems_system_dict_value.value，字典编码如 device_system）")
    private List<Integer> deviceSystemList;
}
