package com.friday.custody.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import static com.fasterxml.jackson.annotation.JsonProperty.Access.READ_WRITE;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuangfaFundNetValueDTO {
    /**
     * 产品名称
     */
    @JsonProperty(value = "product_cname")
    private String productCname;

    /**
     * 科目代码
     */
    @JsonProperty(value = "vc_kmdm")
    private String vcKmdm;

    /**
     * 科目名称
     */
    @JsonProperty(value = "vc_kmmc" , access = READ_WRITE, required = true, defaultValue = "1")
    private String vcKmmc;

    /**
     * 市值
     */
    @JsonProperty(value = "en_sz")
    private String enSZ;

    /**
     * 净值日期
     */
    @JsonProperty(value = "d_ywrq")
    private String dYwrq;

    /**
     * 币种
     */
    @JsonProperty(value = "vc_jsbz")
    private String vcJsbz;

    /**
     * 是否确认(1:确认，0：未确认)
     */
    @JsonProperty(value = "l_sfqr")
    private String lSfqr;
}
