package com.zt.plat.module.erp.controller.admin.erp.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - ERP资产卡片 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ErpAssetRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "31799")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "公司编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("公司编号")
    private String companyNumber;

    @Schema(description = "资产主编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("资产主编码")
    private String mainAssetNumber;

    @Schema(description = "记录创建日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("记录创建日期")
    private LocalDateTime recordCreateDate;

    @Schema(description = "更改用户名", example = "芋艿")
    @ExcelProperty("更改用户名")
    private String updateUserName;

    @Schema(description = "资产类编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("资产类编号")
    private String assetTypeNumber;

    @Schema(description = "资产类描述", example = "李四")
    @ExcelProperty("资产类描述")
    private String assetTypeName;

    @Schema(description = "资产资本化日期")
    @ExcelProperty("资产资本化日期")
    private LocalDateTime assetDate;

    @Schema(description = "基本计量单位")
    @ExcelProperty("基本计量单位")
    private String uom;

    @Schema(description = "数量")
    @ExcelProperty("数量")
    private BigDecimal quantity;

    @Schema(description = "资产描述")
    @ExcelProperty("资产描述")
    private String assetDescription;

    @Schema(description = "附加资产描述")
    @ExcelProperty("附加资产描述")
    private String assetDescriptionAttach;

    @Schema(description = "折旧计算开始日期")
    @ExcelProperty("折旧计算开始日期")
    private LocalDateTime depreciationStartDate;

    @Schema(description = "计划年使用期")
    @ExcelProperty("计划年使用期")
    private String planYearDate;

    @Schema(description = "成本中心编码")
    @ExcelProperty("成本中心编码")
    private String costcenterNumber;

    @Schema(description = "责任成本中心")
    @ExcelProperty("责任成本中心")
    private String dutyCostcenterNumber;

}