forked from wangjiadong/comp
parent
c2371a16ec
commit
004424b230
9 changed files with 1495 additions and 1252 deletions
@ -1,122 +1,161 @@ |
||||
package org.jeecg.modules.demo.annualcomp.entity; |
||||
|
||||
import java.io.Serializable; |
||||
import java.io.UnsupportedEncodingException; |
||||
import java.util.Date; |
||||
import java.math.BigDecimal; |
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.baomidou.mybatisplus.annotation.TableLogic; |
||||
import lombok.Data; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
import org.jeecgframework.poi.excel.annotation.Excel; |
||||
import org.jeecg.common.aspect.annotation.Dict; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import lombok.experimental.Accessors; |
||||
import org.jeecgframework.poi.excel.annotation.Excel; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @Description: 年度比赛管理 |
||||
* @Author: jeecg-boot |
||||
* @Date: 2023-08-17 |
||||
* @Date: 2023-08-17 |
||||
* @Version: V1.0 |
||||
*/ |
||||
@Data |
||||
@TableName("annual_comp") |
||||
@Accessors(chain = true) |
||||
@EqualsAndHashCode(callSuper = false) |
||||
@ApiModel(value="annual_comp对象", description="年度比赛管理") |
||||
@ApiModel(value = "annual_comp对象", description = "年度比赛管理") |
||||
public class AnnualComp implements Serializable { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/**主键*/ |
||||
@TableId(type = IdType.ASSIGN_ID) |
||||
/** |
||||
* 主键 |
||||
*/ |
||||
@TableId(type = IdType.ASSIGN_ID) |
||||
@ApiModelProperty(value = "主键") |
||||
private String id; |
||||
/**创建人*/ |
||||
/** |
||||
* 创建人 |
||||
*/ |
||||
@ApiModelProperty(value = "创建人") |
||||
private String createBy; |
||||
/**创建日期*/ |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
/** |
||||
* 创建日期 |
||||
*/ |
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "创建日期") |
||||
private Date createTime; |
||||
/**更新人*/ |
||||
/** |
||||
* 更新人 |
||||
*/ |
||||
@ApiModelProperty(value = "更新人") |
||||
private String updateBy; |
||||
/**更新日期*/ |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
/** |
||||
* 更新日期 |
||||
*/ |
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "更新日期") |
||||
private Date updateTime; |
||||
/**所属部门*/ |
||||
/** |
||||
* 所属部门 |
||||
*/ |
||||
@ApiModelProperty(value = "所属部门") |
||||
private String sysOrgCode; |
||||
/**比赛id*/ |
||||
@Excel(name = "比赛id", width = 15) |
||||
/** |
||||
* 比赛id |
||||
*/ |
||||
@Excel(name = "比赛id", width = 15) |
||||
@ApiModelProperty(value = "比赛id") |
||||
private String compid; |
||||
/**年度id*/ |
||||
@Excel(name = "年度id", width = 15) |
||||
/** |
||||
* 年度id |
||||
*/ |
||||
@Excel(name = "年度id", width = 15) |
||||
@ApiModelProperty(value = "年度id") |
||||
private String annualid; |
||||
/**赛次*/ |
||||
@Excel(name = "赛次", width = 15) |
||||
/** |
||||
* 赛次 |
||||
*/ |
||||
@Excel(name = "赛次", width = 15) |
||||
@ApiModelProperty(value = "赛次") |
||||
private String games; |
||||
/**名称*/ |
||||
@Excel(name = "名称", width = 15) |
||||
/** |
||||
* 名称 |
||||
*/ |
||||
@Excel(name = "名称", width = 15) |
||||
@ApiModelProperty(value = "名称") |
||||
private String name; |
||||
/**年度比赛简介*/ |
||||
@Excel(name = "年度比赛简介", width = 15) |
||||
/** |
||||
* 年度比赛简介 |
||||
*/ |
||||
@Excel(name = "年度比赛简介", width = 15) |
||||
@ApiModelProperty(value = "年度比赛简介") |
||||
private String introduction; |
||||
/**年度比赛介绍*/ |
||||
@Excel(name = "年度比赛介绍", width = 15) |
||||
/** |
||||
* 年度比赛介绍 |
||||
*/ |
||||
@Excel(name = "年度比赛介绍", width = 15) |
||||
@ApiModelProperty(value = "年度比赛介绍") |
||||
private String introduce; |
||||
/**比赛图片*/ |
||||
@Excel(name = "比赛图片", width = 15) |
||||
/** |
||||
* 比赛图片 |
||||
*/ |
||||
@Excel(name = "比赛图片", width = 15) |
||||
@ApiModelProperty(value = "比赛图片") |
||||
private String image; |
||||
/**年度比赛介绍文件*/ |
||||
@Excel(name = "年度比赛介绍文件", width = 15) |
||||
/** |
||||
* 年度比赛介绍文件 |
||||
*/ |
||||
@Excel(name = "年度比赛介绍文件", width = 15) |
||||
@ApiModelProperty(value = "年度比赛介绍文件") |
||||
private String compfile; |
||||
/**开始时间*/ |
||||
@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd") |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd") |
||||
/** |
||||
* 开始时间 |
||||
*/ |
||||
@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd") |
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
@ApiModelProperty(value = "开始时间") |
||||
private Date starttime; |
||||
/**结束时间*/ |
||||
@Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd") |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd") |
||||
/** |
||||
* 结束时间 |
||||
*/ |
||||
@Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd") |
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
@ApiModelProperty(value = "结束时间") |
||||
private Date endtime; |
||||
/**主办方*/ |
||||
@Excel(name = "主办方", width = 15) |
||||
/** |
||||
* 主办方 |
||||
*/ |
||||
@Excel(name = "主办方", width = 15) |
||||
@ApiModelProperty(value = "主办方") |
||||
private String organizer; |
||||
/**协办方*/ |
||||
@Excel(name = "协办方", width = 15) |
||||
/** |
||||
* 协办方 |
||||
*/ |
||||
@Excel(name = "协办方", width = 15) |
||||
@ApiModelProperty(value = "协办方") |
||||
private String coorganizer; |
||||
/**年度比赛状态*/ |
||||
@Excel(name = "年度比赛状态", width = 15) |
||||
/** |
||||
* 年度比赛状态 |
||||
*/ |
||||
@Excel(name = "年度比赛状态", width = 15) |
||||
@ApiModelProperty(value = "年度比赛状态") |
||||
private String state; |
||||
/**开关*/ |
||||
@Excel(name = "开关", width = 15) |
||||
/** |
||||
* 开关 |
||||
*/ |
||||
@Excel(name = "开关", width = 15) |
||||
@ApiModelProperty(value = "开关") |
||||
private String isopen; |
||||
/**驳回信息*/ |
||||
@Excel(name = "驳回信息", width = 15) |
||||
/** |
||||
* 驳回信息 |
||||
*/ |
||||
@Excel(name = "驳回信息", width = 15) |
||||
@ApiModelProperty(value = "驳回信息") |
||||
private String backinfo; |
||||
} |
||||
|
@ -1,143 +1,208 @@ |
||||
package org.jeecg.modules.demo.annualcompaward.entity; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
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 lombok.Data; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
import org.jeecgframework.poi.excel.annotation.Excel; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import lombok.experimental.Accessors; |
||||
import org.jeecg.common.aspect.annotation.Dict; |
||||
import org.jeecgframework.poi.excel.annotation.Excel; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @Description: 年度比赛奖项设置 |
||||
* @Author: jeecg-boot |
||||
* @Date: 2023-08-17 |
||||
* @Date: 2023-08-17 |
||||
* @Version: V1.0 |
||||
*/ |
||||
@Data |
||||
@TableName("annual_comp_award") |
||||
@Accessors(chain = true) |
||||
@EqualsAndHashCode(callSuper = false) |
||||
@ApiModel(value="annual_comp_award对象", description="年度比赛奖项设置") |
||||
@ApiModel(value = "annual_comp_award对象", description = "年度比赛奖项设置") |
||||
public class AnnualCompAward implements Serializable { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/**主键*/ |
||||
@TableId(type = IdType.ASSIGN_ID) |
||||
/** |
||||
* 主键 |
||||
*/ |
||||
@TableId(type = IdType.ASSIGN_ID) |
||||
@ApiModelProperty(value = "主键") |
||||
private String id; |
||||
/**创建人*/ |
||||
/** |
||||
* 创建人 |
||||
*/ |
||||
@ApiModelProperty(value = "创建人") |
||||
private String createBy; |
||||
/**创建日期*/ |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
/** |
||||
* 创建日期 |
||||
*/ |
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "创建日期") |
||||
private Date createTime; |
||||
/**更新人*/ |
||||
/** |
||||
* 更新人 |
||||
*/ |
||||
@ApiModelProperty(value = "更新人") |
||||
private String updateBy; |
||||
/**更新日期*/ |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
/** |
||||
* 更新日期 |
||||
*/ |
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "更新日期") |
||||
private Date updateTime; |
||||
/**所属部门*/ |
||||
/** |
||||
* 所属部门 |
||||
*/ |
||||
@ApiModelProperty(value = "所属部门") |
||||
private String sysOrgCode; |
||||
/**年度比赛项目id*/ |
||||
@Excel(name = "年度比赛项目id", width = 15) |
||||
/** |
||||
* 年度比赛项目id |
||||
*/ |
||||
|
||||
@Dict(dictTable = "annual_comp_point",dicCode = "id",dicText = "obj_name") |
||||
@ApiModelProperty(value = "年度比赛项目id") |
||||
private String annucompid; |
||||
/**是否启用奖项1*/ |
||||
@Excel(name = "是否启用奖项1", width = 15) |
||||
/** |
||||
* 是否启用奖项1 |
||||
*/ |
||||
@Excel(name = "是否启用奖项1", width = 15) |
||||
@ApiModelProperty(value = "是否启用奖项1") |
||||
private String isFirstPrize; |
||||
/**第一名奖项名称*/ |
||||
@Excel(name = "第一名奖项名称", width = 15) |
||||
/** |
||||
* 第一名奖项名称 |
||||
*/ |
||||
@Excel(name = "第一名奖项名称", width = 15) |
||||
@ApiModelProperty(value = "第一名奖项名称") |
||||
private String firstPrize; |
||||
/**数量*/ |
||||
@Excel(name = "数量", width = 15) |
||||
/** |
||||
* 数量 |
||||
*/ |
||||
@Excel(name = "数量", width = 15) |
||||
@ApiModelProperty(value = "数量") |
||||
private String firstNum; |
||||
/**第一名权重*/ |
||||
@Excel(name = "第一名权重", width = 15) |
||||
/** |
||||
* 第一名权重 |
||||
*/ |
||||
@Excel(name = "第一名权重", width = 15) |
||||
@ApiModelProperty(value = "第一名权重") |
||||
private String firstWeight; |
||||
/**是否启用奖项2*/ |
||||
@Excel(name = "是否启用奖项2", width = 15) |
||||
/** |
||||
* 是否启用奖项2 |
||||
*/ |
||||
@Excel(name = "是否启用奖项2", width = 15) |
||||
@ApiModelProperty(value = "是否启用奖项2") |
||||
private String isSecondPrize; |
||||
/**第二名奖项名称*/ |
||||
@Excel(name = "第二名奖项名称", width = 15) |
||||
/** |
||||
* 第二名奖项名称 |
||||
*/ |
||||
@Excel(name = "第二名奖项名称", width = 15) |
||||
@ApiModelProperty(value = "第二名奖项名称") |
||||
private String secondPrize; |
||||
/**奖项2数量*/ |
||||
@Excel(name = "奖项2数量", width = 15) |
||||
/** |
||||
* 奖项2数量 |
||||
*/ |
||||
@Excel(name = "奖项2数量", width = 15) |
||||
@ApiModelProperty(value = "奖项2数量") |
||||
private String secondNum; |
||||
/**第二名权重*/ |
||||
@Excel(name = "第二名权重", width = 15) |
||||
/** |
||||
* 第二名权重 |
||||
*/ |
||||
@Excel(name = "第二名权重", width = 15) |
||||
@ApiModelProperty(value = "第二名权重") |
||||
private String secondWeight; |
||||
/**是否启用奖项3*/ |
||||
@Excel(name = "是否启用奖项3", width = 15) |
||||
/** |
||||
* 是否启用奖项3 |
||||
*/ |
||||
@Excel(name = "是否启用奖项3", width = 15) |
||||
@ApiModelProperty(value = "是否启用奖项3") |
||||
private String isThirdPrize; |
||||
/**第三名奖项名称*/ |
||||
@Excel(name = "第三名奖项名称", width = 15) |
||||
/** |
||||
* 第三名奖项名称 |
||||
*/ |
||||
@Excel(name = "第三名奖项名称", width = 15) |
||||
@ApiModelProperty(value = "第三名奖项名称") |
||||
private String thirdPrize; |
||||
/**奖项3数量*/ |
||||
@Excel(name = "奖项3数量", width = 15) |
||||
/** |
||||
* 奖项3数量 |
||||
*/ |
||||
@Excel(name = "奖项3数量", width = 15) |
||||
@ApiModelProperty(value = "奖项3数量") |
||||
private String thirdNum; |
||||
/**第三名权重*/ |
||||
@Excel(name = "第三名权重", width = 15) |
||||
/** |
||||
* 第三名权重 |
||||
*/ |
||||
@Excel(name = "第三名权重", width = 15) |
||||
@ApiModelProperty(value = "第三名权重") |
||||
private String thirdWeight; |
||||
/**是否启用奖项4*/ |
||||
@Excel(name = "是否启用奖项4", width = 15) |
||||
/** |
||||
* 是否启用奖项4 |
||||
*/ |
||||
@Excel(name = "是否启用奖项4", width = 15) |
||||
@ApiModelProperty(value = "是否启用奖项4") |
||||
private String isFourthPrize; |
||||
/**第四名奖项名称*/ |
||||
@Excel(name = "第四名奖项名称", width = 15) |
||||
/** |
||||
* 第四名奖项名称 |
||||
*/ |
||||
@Excel(name = "第四名奖项名称", width = 15) |
||||
@ApiModelProperty(value = "第四名奖项名称") |
||||
private String fourthPrize; |
||||
/**奖项4数量*/ |
||||
@Excel(name = "奖项4数量", width = 15) |
||||
/** |
||||
* 奖项4数量 |
||||
*/ |
||||
@Excel(name = "奖项4数量", width = 15) |
||||
@ApiModelProperty(value = "奖项4数量") |
||||
private String fourthNum; |
||||
/**第四名权重*/ |
||||
@Excel(name = "第四名权重", width = 15) |
||||
/** |
||||
* 第四名权重 |
||||
*/ |
||||
@Excel(name = "第四名权重", width = 15) |
||||
@ApiModelProperty(value = "第四名权重") |
||||
private String fourthWeight; |
||||
/**是否启用奖项5*/ |
||||
@Excel(name = "是否启用奖项5", width = 15) |
||||
/** |
||||
* 是否启用奖项5 |
||||
*/ |
||||
@Excel(name = "是否启用奖项5", width = 15) |
||||
@ApiModelProperty(value = "是否启用奖项5") |
||||
private String isFifthPrize; |
||||
/**第五名奖项名称*/ |
||||
@Excel(name = "第五名奖项名称", width = 15) |
||||
/** |
||||
* 第五名奖项名称 |
||||
*/ |
||||
@Excel(name = "第五名奖项名称", width = 15) |
||||
@ApiModelProperty(value = "第五名奖项名称") |
||||
private String fifthPrize; |
||||
/**奖项5数量*/ |
||||
@Excel(name = "奖项5数量", width = 15) |
||||
/** |
||||
* 奖项5数量 |
||||
*/ |
||||
@Excel(name = "奖项5数量", width = 15) |
||||
@ApiModelProperty(value = "奖项5数量") |
||||
private String fifthNum; |
||||
/**第五名权重*/ |
||||
@Excel(name = "第五名权重", width = 15) |
||||
/** |
||||
* 第五名权重 |
||||
*/ |
||||
@Excel(name = "第五名权重", width = 15) |
||||
@ApiModelProperty(value = "第五名权重") |
||||
private String fifthWeight; |
||||
/**同分*/ |
||||
@Excel(name = "同分", width = 15) |
||||
/** |
||||
* 同分 |
||||
*/ |
||||
@Excel(name = "同分", width = 15) |
||||
@ApiModelProperty(value = "同分") |
||||
private String equalSocre; |
||||
|
||||
@TableField(exist = false) |
||||
private String annual; |
||||
|
||||
@TableField(exist = false) |
||||
private String comp; |
||||
} |
||||
|
Loading…
Reference in new issue