package com.weather.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 农技措施
 * </p>
 *
 * @author : fengyuhao
 * @since 2021-02-02
 */
@Data
@Accessors(chain = true)
@TableName("agricultural_knowledge_base")
@ApiModel(value="AgriculturalKnowledgeBaseEntity对象", description="农技措施")
public class AgriculturalKnowledgeBase implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键id")
    @TableField("id")
    private Integer id;

    @TableField("crop_type_id")
    private Integer cropTypeId;

    @ApiModelProperty(value = "生育期时段")
    @TableField("date_segment")
    private String dateSegment;

    @ApiModelProperty(value = "生育期名称")
    @TableField("bearing_period")
    private String bearingPeriod;

    @ApiModelProperty(value = "农技措施")
    @TableField("agri_measure")
    private String agriMeasure;

    @ApiModelProperty(value = "专家名字")
    @TableField("expert_name")
    private String expertName;

    @TableField(exist = false)
    @ApiModelProperty(value = "当前阶段")
    private Boolean isCurrentDate=false;

}
