package com.softwarebr.nunu.json.admin.res;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 载体资源
 * @date 2020-02-21 11:49:00
 * @author lilin
 */

@Data
@ApiModel
public class PropertyDetailsResult {

    @ApiModelProperty(value = "id", required = true, example = "1")
    private Long id;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", required = true, example = "2018-03-12 21:32:33")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "发布者", required = true, example = "")
    private Long publisher;

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

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出租开始时间", required = true, example = "")
    private LocalDateTime startDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出租结束时间", required = true, example = "")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "项目价格(-1面议)", required = true, example = "")
    private BigDecimal price;

    @ApiModelProperty(value = "最小容量", required = true, example = "")
    private Integer minCapacity;

    @ApiModelProperty(value = "最大容量", required = true, example = "")
    private Integer maxCapacity;

    @ApiModelProperty(value = "场地规模", required = true, example = "")
    private String capacity;

    @ApiModelProperty(value = "出售类型(1出租 2出售)", required = true, example = "")
    private Integer type;

    @ApiModelProperty(value = "出售状态(1未出租 2已出租)", required = true, example = "")
    private Integer status;

    @ApiModelProperty(value = "出租封面图", required = true, example = "")
    private String coverUri;

    @ApiModelProperty(value = "出租省份编号", required = true, example = "")
    private Long provinceId;

    @ApiModelProperty(value = "出租城市编号", required = true, example = "")
    private Long cityId;

    @ApiModelProperty(value = "出租区县编号", required = true, example = "")
    private Long areaId;

    @ApiModelProperty(value = "出租乡镇街道办编号", required = true, example = "")
    private Long streetId;

    @ApiModelProperty(value = "出租省份", required = true, example = "")
    private String province;

    @ApiModelProperty(value = "出租城市", required = true, example = "")
    private String city;

    @ApiModelProperty(value = "出租区县", required = true, example = "")
    private String area;

    @ApiModelProperty(value = "出租乡镇街道办", required = true, example = "")
    private String street;

    @ApiModelProperty(value = "出租详情(text)", required = true, example = "")
    private String detail;

    @ApiModelProperty(value = "项目联系人", required = true, example = "")
    private String contact;

    @ApiModelProperty(value = "手机号码", required = true, example = "")
    private String contactPhone;

    @ApiModelProperty(value = "电子邮箱", required = true, example = "")
    private String email;

    @ApiModelProperty(value = "公开状态(1公开 2隐私 3平台可见)", required = true, example = "")
    private Integer publicity;

    @ApiModelProperty(value = "审核状态(1待审核 2审核通过 3审核不通过)", required = true, example = "")
    private Integer verify;

    @ApiModelProperty(value = "审核备注", required = true, example = "")
    private String verifyRemark;

    @ApiModelProperty(value = "删除标记0.已删除 1.未删除", required = true, example = "")
    private Integer marker;

    @ApiModelProperty(value = "是否上架(0下架 1上架) ", required = true, example = "")
    private Integer upperStatus;

    @ApiModelProperty(value = "是否推荐至首页(0否 1是)", required = true, example = "")
    private Integer indexType;


}
