package com.dsh.other.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import java.io.Serializable;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* <p>
|
* 智慧球场
|
* </p>
|
*
|
* @author administrator
|
* @since 2023-09-18
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_game")
|
public class TGame extends Model<TGame> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 运营商id 0为平台
|
*/
|
@TableField("operationId")
|
private Integer operationId;
|
|
/**
|
* 省
|
*/
|
private String province;
|
|
/**
|
* 省code
|
*/
|
@TableField("provinceCode")
|
private String provinceCode;
|
|
/**
|
* 市
|
*/
|
private String city;
|
|
/**
|
* 市code
|
*/
|
@TableField("cityCode")
|
private String cityCode;
|
|
/**
|
* 门店id
|
*/
|
@TableField("storeId")
|
private Integer storeId;
|
|
/**
|
* 场地id
|
*/
|
@TableField("siteId")
|
private Integer siteId;
|
|
/**
|
* 蓝色方id
|
*/
|
private String blue;
|
|
/**
|
* 红方id
|
*/
|
private String red;
|
|
private Integer state;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|