package com.usky.ems.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 项目（ems_project）
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ems_project")
public class EmsProject implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("space_id")
    private Long spaceId;

    private String name;
    @TableField("platform_name")
    private String platformName;
    private String abbreviation;
    private BigDecimal area;
    @TableField("common_area")
    private BigDecimal commonArea;
    @TableField("air_conditioned_area")
    private BigDecimal airConditionedArea;
    @TableField("resident_population")
    private Integer residentPopulation;
    @TableField("province_code")
    private String provinceCode;
    @TableField("province_name")
    private String provinceName;
    @TableField("city_code")
    private String cityCode;
    @TableField("city_name")
    private String cityName;
    @TableField("district_code")
    private String districtCode;
    @TableField("district_name")
    private String districtName;
    private String location;
    private String address;
    @TableField("type_id")
    private Integer typeId;
    @TableField("type_name")
    private String typeName;
    private String image;
    private String introduction;
    private String logo;
    @TableField("logo_min")
    private String logoMin;
    @TableField("tenant_id")
    private Integer tenantId;
    @TableField("updated_by")
    private String updatedBy;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("created_by")
    private String createdBy;
    @TableField("create_time")
    private LocalDateTime createTime;
}
