package com.simuwang.base.pojo.dos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("valuation_table_attribute")
public class ValuationTableAttributeDO {
    /**
     * 主键id
     */
    @TableId(value = "id")
    private Integer id;
    /**
     * 估值表id(valuation_table.id)
     */
    @TableField(value = "valuation_id")
    private Integer valuationId;
    /**
     * 科目代码
     */
    @TableField(value = "subject_code")
    private String subjectCode;
    /**
     * 科目名称
     */
    @TableField(value = "subject_name")
    private String subjectName;
    /**
     * 币别
     */
    @TableField(value = "currency")
    private String currency;
    /**
     * 汇率
     */
    @TableField(value = "exchange_rate")
    private BigDecimal exchangeRate;
    /**
     * 证券数量
     */
    @TableField(value = "securities_amount")
    private BigDecimal securitiesAmount;
    /**
     * 单位成本
     */
    @TableField(value = "unit_cost")
    private BigDecimal unitCost;
    /**
     * 成本(原币)
     */
    @TableField(value = "ori_currency_cost")
    private BigDecimal oriCurrencyCost;
    /**
     * 成本(本币)
     */
    @TableField(value = "net_cost")
    private BigDecimal netCost;
    /**
     * 成本占比
     */
    @TableField(value = "net_cost_ratio")
    private BigDecimal netCostRatio;
    /**
     * 行情
     */
    @TableField(value = "market_price")
    private BigDecimal marketPrice;
    /**
     * 市值(原币)
     */
    @TableField(value = "ori_currency_market_value")
    private BigDecimal oriCurrencyMarketValue;
    /**
     * 市值(本币)
     */
    @TableField(value = "market_value")
    private BigDecimal marketValue;
    /**
     * 市值占比
     */
    @TableField(value = "market_value_ratio")
    private BigDecimal marketValueRatio;
    /**
     * 估值增值(原币)
     */
    @TableField(value = "ori_currency_increment")
    private BigDecimal oriCurrencyIncrement;
    /**
     * 估值增值(本币)
     */
    @TableField(value = "increment")
    private BigDecimal increment;
    /**
     * 停牌信息
     */
    @TableField(value = "halt_info")
    private String haltInfo;
    /**
     * 权益信息
     */
    @TableField(value = "rights_interests_info")
    private String rightsInterestsInfo;
    /**
     * 是否有效：0-无效，1-有效
     */
    @TableField(value = "isvalid")
    private Integer isvalid;
    /**
     * 创建者Id
     */
    @TableField(value = "creatorid")
    private Integer creatorId;
    /**
     * 创建时间
     */
    @TableField(value = "createtime")
    private Date createTime;
    /**
     * 修改者Id
     */
    @TableField(value = "updaterid")
    private Integer updaterId;
    /**
     * 更新时间
     */
    @TableField(value = "updatetime")
    private Date updateTime;
}