package com.gear.swx.domain;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.gear.common.annotation.Excel;
|
import com.gear.common.annotation.Where;
|
import com.gear.common.enums.Condition;
|
import lombok.Data;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.gear.common.core.domain.BusiBaseEntity;
|
|
/**
|
* nft对象 swx_nft
|
*
|
* @author czx
|
* @date 2023-11-18
|
*/
|
@Data
|
@TableName("swx_nft")
|
public class SwxNft extends BusiBaseEntity {
|
|
private static final long serialVersionUID=1L;
|
|
/** $column.columnComment */
|
@TableId(type = IdType.ASSIGN_ID)
|
private String id;
|
|
/** $column.columnComment */
|
@Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
|
private String typeId;
|
|
/** 名称 */
|
@Excel(name = "名称")
|
@Where(value = Condition.like,column = "name")
|
private String name;
|
|
private Integer showIndex;
|
/** 地址 */
|
@Excel(name = "地址")
|
private String url;
|
|
/** 图片 */
|
@Excel(name = "图片")
|
private String img;
|
|
/** $column.columnComment */
|
@Excel(name = "${comment}" , readConverterExp = "$column.readConverterExp()")
|
@Where(value = Condition.eq,column = "status")
|
private Integer status;
|
|
/** 当前价格 */
|
@Excel(name = "当前价格")
|
private BigDecimal currentPrice;
|
|
/** 结束时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@Excel(name = "结束时间" , width = 30, dateFormat = "yyyy-MM-dd")
|
private Date endDate;
|
|
/** 作者 */
|
@Excel(name = "作者")
|
@Where(value = Condition.like,column = "author")
|
private String author;
|
|
/** 所属链 */
|
@Excel(name = "所属链")
|
private String chain;
|
|
private String userId;
|
|
private String address;
|
}
|