package com.huimv.environ.eco.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author astupidcoder
 * @since 2021-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysFodder extends Model {

    private static final long serialVersionUID = 1L;

    private String id;

    private Double value;

    @JsonFormat(pattern = "MM-dd" ,timezone = "GMT+8")
    private Date createTime;

    private Integer floorId;

    @TableId(value = "fodder_id", type = IdType.AUTO)
    private Integer fodderId;

    private Integer farmId;


}
