package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 夜市对象 night_market
 *
 * @author ruoyi
 * @date 2025-09-02
 */
@Data
@TableName(value = "night_market")
@EqualsAndHashCode(callSuper = false)
public class NightMarket
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /** $column.columnComment */
    private Long id;

    /** 夜市名称 */
    @Excel(name = "夜市名称")
    private String name;

    /** 夜市封面 */
    @Excel(name = "夜市封面")
    private String image;

    /** 所在地区 */
    @Excel(name = "所在地区")
    private String area;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 简介 */
    @Excel(name = "简介")
    private String briefIntroduction;

    /** 开始营业 */
    @Excel(name = "开始营业")
    private String openBusiness;

    /** 结束营业 */
    @Excel(name = "结束营业")
    private String windingUp;

    /** 分类 */
    @Excel(name = "分类")
    private Long sort;

    /** 所属用户id */
    @Excel(name = "所属用户id")
    private Long userId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cretim;

    /** 状态（0营业，1打烊） */
    @Excel(name = "状态", readConverterExp = "0=营业，1打烊")
    private Long state;

    /** 客服电话 */
    @Excel(name = "客服电话")
    private String telephone;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** logo */
    @Excel(name = "logo")
    private String logo;

    /** 下架 */
    @Excel(name = "下架")
    private String offShelf;

    /** 证件上传 */
    @Excel(name = "证件上传")
    private String hygieneLicence;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setBriefIntroduction(String briefIntroduction)
    {
        this.briefIntroduction = briefIntroduction;
    }

    public String getBriefIntroduction()
    {
        return briefIntroduction;
    }
    public void setOpenBusiness(String openBusiness)
    {
        this.openBusiness = openBusiness;
    }

    public String getOpenBusiness()
    {
        return openBusiness;
    }
    public void setWindingUp(String windingUp)
    {
        this.windingUp = windingUp;
    }

    public String getWindingUp()
    {
        return windingUp;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setCretim(Date cretim)
    {
        this.cretim = cretim;
    }

    public Date getCretim()
    {
        return cretim;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setLogo(String logo)
    {
        this.logo = logo;
    }

    public String getLogo()
    {
        return logo;
    }
    public void setOffShelf(String offShelf)
    {
        this.offShelf = offShelf;
    }

    public String getOffShelf()
    {
        return offShelf;
    }
    public void setHygieneLicence(String hygieneLicence)
    {
        this.hygieneLicence = hygieneLicence;
    }

    public String getHygieneLicence()
    {
        return hygieneLicence;
    }

}
