package com.bonus.material.lease.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author ma_sh
 * @create 2024/11/27 16:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaLease {

    private Integer pageNum;
    private Integer pageSize;

    @ApiModelProperty("类型id")
    private String typeId;

    @ApiModelProperty("层级")
    private String level;

    @ApiModelProperty("企业id")
    private String companyId;

    /**
     * 预估租期（天）
     */
    @ApiModelProperty("预估租期")
    private Integer leaseDay;

    /**
     * 预估租赁装备数量
     */
    @ApiModelProperty("预估数量")
    private Integer leaseNum;

    /**
     * 需求发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @ApiModelProperty("预估天数（字符串转换）")
    private String rentDay;

    @ApiModelProperty("预估数量（字符串转换）")
    private String rentNum;

    /**
     * 需求截止日期(年月日)
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String endTime;

    @ApiModelProperty("关键字")
    private String keyWord;

    @ApiModelProperty(value = "区域id")
    private Long areaId;

    @ApiModelProperty(value = "市级code")
    private Long cityCode;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

}
