package com.dsh.other.entity;
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
|
/**
|
* <p>
|
* 门店信息
|
* </p>
|
*
|
* @author jqs
|
* @since 2023-06-14
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_store")
|
public class Store extends Model<Store> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 门店名称
|
*/
|
@TableField("name")
|
private String name;
|
/**
|
* 门店店长id
|
*/
|
@TableField("storeStaffId")
|
private Integer storeStaffId;
|
/**
|
* 城市管理员id
|
*/
|
@TableField("cityManagerId")
|
private Integer cityManagerId;
|
/**
|
* 省
|
*/
|
@TableField("province")
|
private String province;
|
/**
|
* 省编号
|
*/
|
@TableField("provinceCode")
|
private String provinceCode;
|
/**
|
* 市
|
*/
|
@TableField("city")
|
private String city;
|
/**
|
* 市编号
|
*/
|
@TableField("cityCode")
|
private String cityCode;
|
/**
|
* 联系电话
|
*/
|
@TableField("phone")
|
private String phone;
|
/**
|
* 详细地址
|
*/
|
@TableField("address")
|
private String address;
|
/**
|
* 纬度
|
*/
|
@TableField("lat")
|
private String lat;
|
/**
|
* 经度
|
*/
|
@TableField("lon")
|
private String lon;
|
/**
|
* 营业开始时间
|
*/
|
@TableField("startTime")
|
private String startTime;
|
/**
|
* 营业结束时间
|
*/
|
@TableField("endTime")
|
private String endTime;
|
/**
|
* 封面图
|
*/
|
@TableField("coverDrawing")
|
private String coverDrawing;
|
/**
|
* 实景图
|
*/
|
@TableField("realPicture")
|
private String realPicture;
|
/**
|
* 门店介绍
|
*/
|
@TableField("introduce")
|
private String introduce;
|
/**
|
* 福利图片
|
*/
|
@TableField("welfarePicture")
|
private String welfarePicture;
|
/**
|
* 评分
|
*/
|
@TableField("score")
|
private BigDecimal score;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
@TableField("state")
|
private Integer state;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|