linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
package org.springblade.modules.house.excel;
 
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springblade.common.excel.ExcelDictConverter;
import org.springblade.common.excel.ExcelDictItem;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * UserExcel
 *
 * @author Chill
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class HouseRentalExcel implements Serializable {
 
    private static final long serialVersionUID = 2L;
 
    /** 房屋 */
    @ExcelProperty( "房屋")
    @ColumnWidth(25)
    private String address;
 
    /** 租客关系 1: 同一户  2:不同一户 */
    @ColumnWidth(15)
    @ExcelProperty( value = "租客关系",converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "partyEmberType")
    private String tenantRelationship;
 
    /** 租房时间 */
    @ExcelProperty( "租房时间")
    @ColumnWidth(15)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rentalTime;
 
    /** 到期时间 */
    @ExcelProperty( "到期时间")
    @ColumnWidth(15)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dueTime;
 
//    /** 终止时间 */
//    @ExcelProperty( "终止时间")
//    @ColumnWidth(15)
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    private Date terminationTime;
 
    /** 房屋状态 1:部分出租 2:全部出租 */
    @ColumnWidth(15)
    @ExcelProperty( value = "房屋状态",converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "houseStatusType")
    private String houseStatus;
 
    /** 租房用途 1:仓库 2:办公 3:商用  4:居住 */
    @ColumnWidth(15)
    @ExcelProperty( value = "租房用途",converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "rentalUseType")
    private String rentalUse;
 
    /** 审核状态 0: 待确认 1: 已确认  */
    @ColumnWidth(15)
    @ExcelProperty( value = "审核状态",converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "confirmStatus")
    private String auditStatus;
 
    /** 租赁期限  */
    @ColumnWidth(15)
    @ExcelProperty( value = "租赁期限",converter = ExcelDictConverter.class)
    @ExcelDictItem(type = "dldType")
    private String dldType;
 
    /** 备注 */
    @ColumnWidth(15)
    @ExcelProperty( "备注")
    private String remark;
 
 
}