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;
|
|
|
}
|