package com.td.WaDa.game.commallother.pojo;

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

@Entity
@Table(name = "com_mall_other")
@Data
public class ComMallOther implements Serializable {
    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Integer id;//

    private Integer otherType;//商城类型，默认是小狗0，1打狗棒

    private String picture;//图片名字，前端存储

    private String name;//

    private Integer priceSnb;//

    private Integer priceCnt;//新增一个cnt字段

    private Integer amount;//库存数量

    private String itemDescribe;//描述一下生产周期

    private Integer effectiveDay;//物品的有效时间

    private Double triggerPro;//触发概率，狗就是触发咬的事件

    private Date createTime;//

    private Date updateTime;//

}
