package com.ruoyi.info.collection.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * 资产信息VO
 *
 * @author ruoyi
 * @date 2026-03-12
 */
@Data
@Schema(description = "资产信息")
public class CcdiAssetInfoVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 资产实际持有人证件号 */
    @Schema(description = "资产实际持有人证件号")
    private String personId;

    /** 资产大类 */
    @Schema(description = "资产大类")
    private String assetMainType;

    /** 资产小类 */
    @Schema(description = "资产小类")
    private String assetSubType;

    /** 资产名称 */
    @Schema(description = "资产名称")
    private String assetName;

    /** 产权占比 */
    @Schema(description = "产权占比")
    private BigDecimal ownershipRatio;

    /** 购买/评估日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "购买/评估日期")
    private Date purchaseEvalDate;

    /** 资产原值 */
    @Schema(description = "资产原值")
    private BigDecimal originalValue;

    /** 当前估值 */
    @Schema(description = "当前估值")
    private BigDecimal currentValue;

    /** 估值截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "估值截止日期")
    private Date valuationDate;

    /** 资产状态 */
    @Schema(description = "资产状态")
    private String assetStatus;

    /** 备注 */
    @Schema(description = "备注")
    private String remarks;
}
