/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from BladeX.
 * <p>
 * 1. This software is for development use only under a valid license
 * from BladeX.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * 3. Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with BladeX.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */
package org.springblade.transport.excel;

import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import cn.idev.excel.annotation.write.style.ContentRowHeight;
import cn.idev.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 客商档案 Excel
 *
 * @author Chill
 */
@Data
@ColumnWidth(22)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class CustomerArchiveExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("客商编号")
	private String customerCode;

	@ExcelProperty("客商简称")
	private String shortName;

	@ExcelProperty("*客商名称")
	private String fullName;

	@ExcelProperty("*客商类型")
	private String customerType;

	@ExcelProperty("*客商性质")
	private String customerNature;

	@ExcelProperty("*统一信用代码")
	private String unifiedCreditCode;

	@ExcelProperty("*所属组织")
	private String deptName;

	@ExcelProperty("准入类型")
	private String accessTypeName;

	@ExcelProperty("审批状态")
	private String approvalStatusName;

	@ExcelProperty("当前节点")
	private String currentNode;

	@ExcelProperty("当前处理人")
	private String currentProcessor;

	@ExcelProperty("审核通过时间")
	private LocalDateTime approvedTime;

	@ExcelProperty("状态")
	private String statusName;

	@ExcelProperty("客户等级")
	private String customerLevel;

	@ExcelProperty("最大资金使用额度(万元)")
	private BigDecimal maxCreditLimit;

	@ExcelProperty("申请总资金使用额度(万元)")
	private BigDecimal applyCreditLimit;

	@ExcelProperty("*联系电话")
	private String contactPhone;

	@ExcelProperty("*法人/负责人")
	private String legalPerson;

	@ExcelProperty("创建时间")
	private Date createTime;

}
