| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package com.izouma.nineth.domain;
- import com.alibaba.excel.annotation.ExcelIgnore;
- import com.alibaba.excel.annotation.ExcelProperty;
- import com.izouma.nineth.enums.OperationSource;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.AllArgsConstructor;
- import lombok.Data;
- import lombok.NoArgsConstructor;
- import javax.persistence.*;
- @Data
- @AllArgsConstructor
- @NoArgsConstructor
- @Entity
- @ApiModel("元宇宙快照")
- public class Snapshot extends BaseEntity {
- @ApiModelProperty("快照名称")
- @ExcelIgnore
- private String name;
- @ApiModelProperty("作用")
- @ExcelIgnore
- private String rule;
- @ApiModelProperty("场景")
- @ExcelIgnore
- @Enumerated(EnumType.STRING)
- private OperationSource source;
- @ExcelProperty("用户id")
- @Transient
- private Long userId;
- @ExcelProperty("用户名称")
- @Transient
- private String nickName;
- @ExcelProperty("用户手机号")
- @Transient
- private String phone;
- @ExcelProperty("持有数量")
- @Transient
- private Long countNum;
- }
|