
package org.sky.scientific.excel;


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 XmFixedAssetExcel 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 gl;

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

	@Schema(description = "折旧开始时间")
	@ExcelProperty(index = 9)
	@DateTimeFormat(DateUtil.PATTERN_DATE)
	@JsonFormat(pattern = DateUtil.PATTERN_DATE)
	private Date kssj;

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

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

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

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

	@Schema(description = "月折旧额(每台/套)（K）")
	@ExcelProperty(index = 14)
	private BigDecimal yzje;

	@ExcelProperty(index = 15)
	private String status;
}
