package com.dsh.competition.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
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;
|
import java.util.Date;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author jqs
|
* @since 2023-06-26
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_competition")
|
public class Competition extends Model<Competition> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 省
|
*/
|
private String province;
|
/**
|
* 省编号
|
*/
|
private String provinceCode;
|
/**
|
* 市
|
*/
|
private String city;
|
/**
|
* 市编号
|
*/
|
private String cityCode;
|
/**
|
* 门店id
|
*/
|
private Integer storeId;
|
/**
|
* 赛事名称
|
*/
|
private String name;
|
/**
|
* 开始时间
|
*/
|
private Date startTime;
|
/**
|
* 结束时间
|
*/
|
private Date endTime;
|
/**
|
* 报名结束时间
|
*/
|
private Date registerEndTime;
|
/**
|
* 报名条件(1=全部用户,2=仅限年度会员参与,3=仅限学员参与)
|
*/
|
private Integer registerCondition;
|
/**
|
* 报名开始年龄
|
*/
|
private Integer startAge;
|
/**
|
* 报名结束年龄
|
*/
|
private Integer endAge;
|
/**
|
* 支付方式(1=现金,2=玩湃币支付,3=课时支付)
|
*/
|
private Integer payType;
|
/**
|
* 支付金额
|
*/
|
private BigDecimal price;
|
/**
|
* 参加地址
|
*/
|
private String address;
|
/**
|
* 经度
|
*/
|
private String longitude;
|
/**
|
* 纬度
|
*/
|
private String latitude;
|
/**
|
* 报名人数
|
*/
|
private Integer applicantsNumber;
|
/**
|
* 基础人数
|
*/
|
private Integer baseNumber;
|
/**
|
* 是否需要实名(0=否,1=是)
|
*/
|
private Integer realName;
|
/**
|
* 赛事封面图
|
*/
|
private String coverDrawing;
|
/**
|
* 赛事简介
|
*/
|
private String introduction;
|
/**
|
* 赛事图片
|
*/
|
private String imgs;
|
/**
|
* 报名须知
|
*/
|
private String registrationNotes;
|
/**
|
* 参赛省
|
*/
|
private String entryProvince;
|
/**
|
* 参赛省编号
|
*/
|
private String entryProvinceCode;
|
/**
|
* 参赛市
|
*/
|
private String entryCity;
|
/**
|
* 参赛市编号
|
*/
|
private String entryCityCode;
|
/**
|
* 参赛地址
|
*/
|
private String entryAddress;
|
/**
|
* 参赛经度
|
*/
|
private String entryLon;
|
/**
|
* 参赛纬度
|
*/
|
private String entryLat;
|
/**
|
* 审核状态(1=待审核,2=已通过,3=已拒绝)
|
*/
|
private Integer auditStatus;
|
/**
|
* 审核人id
|
*/
|
private Integer auditUserId;
|
/**
|
* 审核备注
|
*/
|
private String auditRemark;
|
/**
|
* 状态(1=未开始,2=已开始,3=已结束,4=已取消)
|
*/
|
private Integer status;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
private Date insertTime;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|