package com.td.Dawa.game.comloggoldtran.pojo;

import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "com_log_gold_tran")
@Data
public class ComLogGoldTran implements Serializable {
    @Id
    private String id;//

    private String userId;//操作用户的id

    private String tranId;//操作对象的id，不唯一

    private String tranName;//交易的类型名字

    private Integer tranType;//交易类型，区分是什么交易

    private Double tranAmount;//交易的部分数据

    private Integer tranPrice;//物品的交易价格，单价

    private String tranDescribe;//交易描述

    private Integer isAdd;//交易是增加还是减少,0：减少，1：是增加

    private Double beforePart;//

    private Double tranPart;//

    private Double afterPart;//

    private Date createTime;//

    private Date updateTime;//

}
