package com.xinxincaravan.caravan.vehicle.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

@Data
public class AccompanyingItem {

    public static final Integer NO_AMOUNT_LIMIT = -1;


    @Id
    private Integer id;

    /**
     * 物品名称
     */
    @Column(name = "name")
    private String name;

    /**
     * 物品类型，详见AccompanyingItemType
     */
    @Column(name = "type" )
    private Integer type;


    /**
     * 备注
     */
    private String remark;

    private Date createTime;

    private Date updateTime;
}
