42 lines
886 B
Java
42 lines
886 B
Java
package com.accounting.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Data;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.time.LocalDate;
|
|
import java.time.LocalDateTime;
|
|
|
|
@Data
|
|
@TableName("gold_price")
|
|
public class GoldPrice {
|
|
@TableId(type = IdType.AUTO)
|
|
private Long id;
|
|
|
|
private String goldId;
|
|
|
|
private String goldName;
|
|
|
|
private BigDecimal price;
|
|
|
|
private BigDecimal priceChange;
|
|
|
|
private BigDecimal priceChangePercent;
|
|
|
|
private BigDecimal highPrice;
|
|
|
|
private BigDecimal lowPrice;
|
|
|
|
private BigDecimal openPrice;
|
|
|
|
private BigDecimal yesterdayClose;
|
|
|
|
private LocalDateTime updateTime;
|
|
|
|
private LocalDate priceDate;
|
|
|
|
private LocalDateTime createTime;
|
|
}
|