
package org.sky.scientific.excel;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.sky.core.tool.utils.DateUtil;

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


/**
 * 无形资产表 Excel实体类
 *
 * @author Kd
 * @since 2025-06-29
 */
@Data
public class XmIntangibleAssetExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "序号")
	@ExcelProperty(index = 0)
	private String xh;

	@Schema(description = "研发项目编号")
	@ExcelProperty(index = 2)
	private String xmbh;

	@Schema(description = "研发项目名称")
	@ExcelProperty(index = 3)
	private String xmmc;

	@Schema(description = "资产编码")
	@ExcelProperty(index = 4)
	private String zcbm;

	@Schema(description = "资产名称")
	@ExcelProperty(index = 5)
	private String zcmc;

	@Schema(description = "资产类别")
	@ExcelProperty(index = 6)
	private String zclb;

	@Schema(description = "用途")
	@ExcelProperty(index = 7)
	private String yt;

	@Schema(description = "摊销开始日期")
	@ExcelProperty(index = 8)
	@DateTimeFormat(DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date kssj;

	@Schema(description = "使用寿命（月）")
	@ExcelProperty(index = 9)
	private Integer sysm;

	@Schema(description = "已使用月数")
	@ExcelProperty(index = 10)
	private Integer ysysm;

	@Schema(description = "资产原值（元）")
	@ExcelProperty(index = 11)
	private Integer zcyz;

	@Schema(description = "净残值（%）")
	@ExcelIgnore
	private Double jcz;

	@Schema(description = "月摊销额(每节点/套)")
	@ExcelProperty(index = 13)
	private BigDecimal yzje;

	@Schema(description = "状态")
	@ExcelProperty(index = 15)
	private String status;
}
