package com.zksy.property.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class HouseInfoVo {
    private String assetType;
    private String houseName;//房间名称 (A栋101)
    private String address;//地址
    private String status ;//状态 (未租/已租)
    private BigDecimal rentRange ;//租金范围
    private TenantInfo tenantInfo;//租户信息
    private HouseInfo houseInfo;//房间详细信息
    private List<DeviceInfo> deviceInfo;//设备信息
    private ContractInfo contractInfo;//合同信息

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class TenantInfo{
        private String tenantName;//租户名称
        private String tenantNumber;//联系电话
        private String tenantIdCard;//身份证号
        private String tenantInDate;//入住时间
        private String tenantTime;//租期
        private String tenantRent;//月租金
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class HouseInfo{
        private String area;//面积
        private String floor;//楼层
        private String introduce;//介绍
        private String houseType;//房型
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class DeviceInfo{
        private String deviceName;//设备名称
        private String deviceType;//设备类型
        private String deviceBrand;//设备品牌
        private String deviceNumber;//设备型号
        private String devicePrice;//设备价格
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ContractInfo{
        private String ContractNumber;//合同编号
        private String ContractDate;//签约日期
        private String ContractTime;//合同期限
        private String ContractExpirationDate;//到期日期
        private String ContractDeposit;//押金
        private String ContractStatus;//合同状态
        private String ContractOriginalUrl;//原合同地址
    }

}


