package com.yuchen.saas.park.api.response;

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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "空间用途相应信息", description = "空间用途相应信息")
public class SpaceUseResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 空间类型id
     */
    @ApiModelProperty(value = "车位id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long id;

    @ApiModelProperty(value = "空间用途类型名称")
    private String name;

    @ApiModelProperty(value = "用途归属:空间id集合")
    private String useAttribution;

    @ApiModelProperty(value = "用途归属名称")
    private String useAttributionName;

    @ApiModelProperty(value = "用途标识:存颜色值")
    private String typeIdentify;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建人名称")
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
