124 lines
2.8 KiB
Java
124 lines
2.8 KiB
Java
package com.ruoyi.domain.entity;
|
|
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Builder;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.experimental.Accessors;
|
|
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import java.util.Objects;
|
|
|
|
@Data
|
|
@NoArgsConstructor
|
|
@AllArgsConstructor
|
|
@Accessors(chain = true)
|
|
@Builder
|
|
@TableName(value = "tt_ornament")
|
|
public class TtOrnament implements Serializable {
|
|
|
|
@TableField(exist = false)
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@Excel(name = "饰品唯一名称英文")
|
|
@TableId(value = "market_hash_name", type = IdType.INPUT)
|
|
private String marketHashName;
|
|
|
|
@TableField(value = "id", fill = FieldFill.INSERT)
|
|
private Long id;
|
|
|
|
@Excel(name = "zbt_id")
|
|
@TableField("zbt_id")
|
|
private Long zbtId;
|
|
|
|
@Excel(name = "yyyouping_id")
|
|
@TableField("yyyouping_id")
|
|
private Long yyyoupingId;
|
|
|
|
@Excel(name = "长名称")
|
|
@TableField("name")
|
|
private String name;
|
|
|
|
@Excel(name = "本网站使用价格(rmb)")
|
|
private BigDecimal usePrice;
|
|
|
|
@Excel(name = "图片")
|
|
private String imageUrl;
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
return Objects.hash(this.marketHashName);
|
|
}
|
|
|
|
@Excel(name = "在售最低价")
|
|
private BigDecimal price;
|
|
|
|
@Excel(name = "在售数量")
|
|
private Integer quantity;
|
|
|
|
@Excel(name = "短名称")
|
|
private String shortName;
|
|
|
|
@Excel(name = "类别")
|
|
private String type;
|
|
|
|
@Excel(name = "类别中文名")
|
|
private String typeName;
|
|
|
|
@Excel(name = "类别hash名")
|
|
@TableField("type_hash_name")
|
|
private String typeHashName;
|
|
|
|
@Excel(name = "品质")
|
|
private String quality;
|
|
|
|
@Excel(name = "品质hash")
|
|
private String qualityHashName;
|
|
|
|
@Excel(name = "品质名称")
|
|
private String qualityName;
|
|
|
|
@Excel(name = "品质颜色")
|
|
private String qualityColor;
|
|
|
|
@Excel(name = "稀有度")
|
|
private String rarity;
|
|
|
|
private String rarityHashName;
|
|
|
|
@Excel(name = "稀有度名称")
|
|
private String rarityName;
|
|
|
|
@Excel(name = "稀有度颜色")
|
|
private String rarityColor;
|
|
|
|
@Excel(name = "外观")
|
|
private String exterior;
|
|
|
|
@Excel(name = "外观")
|
|
private String exteriorHashName;
|
|
|
|
@Excel(name = "外观名称")
|
|
private String exteriorName;
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private Date createTime;
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private Date updateTime;
|
|
|
|
private String remark;
|
|
|
|
// 0上架 1下架
|
|
private String isPutaway;
|
|
|
|
// 0是本网站自定义道具 1否
|
|
private String isProprietaryProperty;
|
|
}
|