package com.orangesale.cn.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @Author zhijun
 * @Date 2019/12/13
 */
@Data
public class OrangeProduct {
    private Integer id;
    private String name;
    private String imgUrl;
    private BigDecimal price;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp addTime;
}
