package cn.superdesk.uniorder.dto.param.invoice.excel;

import cn.superdesk.uniorder.common.excel.model.ExcelRow;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.ToString;

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

/**
 * mark Excel import
 * @Description: 表1 企业购+经营+福利
 * @Author: linjinyu
 * @CreateDate: 2021/4/25 上午10:32
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021/4/25 上午10:32
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
@ToString
public class SuperdeskFinanceArtificial001ExcelRow extends ExcelRow implements Serializable {


	//	所属公司 ---- 销方名称 是要转换的
	@ExcelProperty(value = "所属公司", index = 0)
	private String sellerCompanyName;

	//	逾期天数
	@ExcelProperty(value = "逾期天数", index = 1)
	private Integer overdueDays;
	//	是否逾期
	@ExcelProperty(value = "是否逾期:已逾期;未逾期;是;", index = 2)
	private String  isOverdueName;
	private Integer isOverdue;

	@ExcelProperty(value = "物业公司", index = 3)
	private String propertyCompanyName;
	private Long   propertyCompanyId;// 物业公司-Id-统一订单 sys_user_id ---- add

	@ExcelProperty(value = "客户经理", index = 4)
	private String customerManagerName;
	private Long   customerManagerId;// 客户经理-Id-统一订单 sys_user_id ---- add

	//	发票种类
	@ExcelProperty(value = "发票种类", index = 5)
	private String     invoiceType;
	//	发票号码
	@ExcelProperty(value = "发票号码", index = 6)
	private String     invoiceNumber;
	//	开票日期
	@ExcelProperty(value = "开票日期", index = 7)
	private Date       invoicedDate;
	//	客户名称 ---- 购方名称 ---- 也是发票抬头(已与财务确认) ----
	@ExcelProperty(value = "客户名称", index = 8)
	private String     purchaserCompanyName;
	//	金额 ---- 合计金额 eg ￥3,126.11 包含税(已与财务确认)
	@ExcelProperty(value = "金额", index = 9)
	private BigDecimal totalAmount;
	//	流程单号+进度
	@ExcelProperty(value = "流程单号+进度", index = 10)
	private String     processNumberAndRateOfProgress;
	//	进度更新位置(格式:时间+进度)
	@ExcelProperty(value = "进度更新位置(格式:时间+进度)", index = 11)
	private String     rateOfProgressUpdate;
	//	重点推进 --- 目前数据库是没有这个字段的, 只有 是否重点推进:0-否;1-是; private Integer isPushHardly;
	@ExcelProperty(value = "重点推进", index = 12)
	private String     isPushHardlyName;
	private Integer    isPushHardly;

	//	项目(财务口)
	@ExcelProperty(value = "项目", index = 13)
	private String  customerProjectName;
	//	是否回款 是否回款:0-否;1-是; private Integer isBackCollection;
	@ExcelProperty(value = "是否回款", index = 14)
	private String  isBackCollectionName;
	private Integer isBackCollection;

	//	回款时间
	@ExcelProperty(value = "回款时间", index = 15)
	private Date       backCollectionTime;
	//	已回款金额
	@ExcelProperty(value = "已回款金额", index = 16)
	private BigDecimal backCollectionAmountAlready;
	//	待回款金额
	@ExcelProperty(value = "待回款金额", index = 17)
	private BigDecimal backCollectionAmountWaitFor;
	//	Today
	@ExcelProperty(value = "Today", index = 18)
	private Date       today;
	//	备注1
	@ExcelProperty(value = "备注1", index = 19)
	private String     memo1;
	//	备注2
	@ExcelProperty(value = "备注2", index = 20)
	private String     memo2;
	//	备注3
	@ExcelProperty(value = "备注3", index = 21)
	private String     memo3;
	//	备注4
	@ExcelProperty(value = "备注4", index = 22)
	private String     memo4;
	//	备注5
	@ExcelProperty(value = "备注5", index = 23)
	private String     memo5;
	//	备注6
	@ExcelProperty(value = "备注6", index = 24)
	private String     memo6;
	//	备注7
	@ExcelProperty(value = "备注7", index = 25)
	private String     memo7;
	//	备注8
	@ExcelProperty(value = "备注8", index = 26)
	private String     memo8;
	//	备注9
	@ExcelProperty(value = "备注9", index = 27)
	private String     memo9;
	//	备注10
	@ExcelProperty(value = "备注10", index = 28)
	private String     memo10;
	//	备注11
	@ExcelProperty(value = "备注11", index = 29)
	private String     memo11;

}
