package com.bonus.material.lease.domain;

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

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author ma_sh
 * @create 2024/12/2 18:35
 */
@Data
public class LeaseRepair {

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "订单编号")
    private String code;

    /**
     * 退租截止开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String finishStartTime;

    /**
     * 退租截止结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String finishEndTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private String orderStartTime;

    /**
     * 退租截止结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String orderEndTime;

    @ApiModelProperty(value = "联系电话")
    private String phoneNumber;

    @ApiModelProperty(value = "退租时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rentEndTime;

    @ApiModelProperty(value = "下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    @ApiModelProperty(value = "租赁金额")
    private BigDecimal rentPrice;

    @ApiModelProperty(value = "租赁开始金额")
    private BigDecimal rentPriceMin;

    @ApiModelProperty(value = "租赁结束金额")
    private BigDecimal rentPriceMax;

    @ApiModelProperty(value = "总租赁开始金额")
    private BigDecimal totalCostMin;

    @ApiModelProperty(value = "总租赁结束金额")
    private BigDecimal totalCostMax;

    @ApiModelProperty(value = "承租人")
    private String leaseName;

    @ApiModelProperty(value = "承租单位")
    private String leaseCompany;

    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "订单状态名称")
    private String orderStatusName;

    @ApiModelProperty(value = "是否已填写退租检修内容（0 否，1 是）")
    private Integer isLeaseContent;

    @ApiModelProperty(value = "是否已填写费用改价（0 否，1 是）")
    private Integer isChangePrice;

    @ApiModelProperty(value = "总费用")
    private BigDecimal totalCost;
}
