package com.yunniu.farming.webadmin.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunniu.farming.common.plugin.PageInfo;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zyf
 * @date 2023/5/15
 * @apiNote
 */
@Data
public class GroupArea {

    private Integer id;

    private String areaName;

    private String province;

    private String city;

    private String region;

    private String areaAddress;

    private String lngandlat;

    private String liaisonMan;

    private String liaisonPhone;

    private Integer areaStatus;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    /**
     * 辅助对象:分页信息对象
     */
    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private PageInfo pageinfo;

    /**
     * 分页页码
     */
    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer curpage;

    /**
     *  分页个数
     */
    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer pagesize;

    @TableField(exist = false)
    private Long groupBuyId;

    @TableField(exist = false)
    private List<Integer> areaIds;

}
