package com.bonus.material.device.domain.vo;

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

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

/**
 * 出租方信息vo
 * @Author ma_sh
 * @create 2024/11/25 11:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LeaseVo {

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("装备id")
    private Long maId;

    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("租赁方")
    private String leaseName;

    @ApiModelProperty("租赁开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leaseStartTime;

    @ApiModelProperty("租赁结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leaseEndTime;

    @ApiModelProperty("租赁费用")
    private BigDecimal leasePrice;
}
