/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.springblade.modules.vote.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* 实体类
|
*
|
* @author BladeX
|
* @since 2022-01-24
|
*/
|
@Data
|
@TableName("sys_vote")
|
@ApiModel(value = "Vote对象", description = "Vote对象")
|
public class Vote implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 投票标题
|
*/
|
@ApiModelProperty(value = "投票标题")
|
private String votename;
|
/**
|
* 介绍
|
*/
|
@ApiModelProperty(value = "介绍")
|
private String introduce;
|
/**
|
* 发起人
|
*/
|
@ApiModelProperty(value = "发起人")
|
private String uid;
|
/**
|
* 发起时间
|
*/
|
@ApiModelProperty(value = "发起时间")
|
private String time;
|
/**
|
* 投票开始时间
|
*/
|
@ApiModelProperty(value = "投票开始时间")
|
private String starttime;
|
/**
|
* 投票结束时间
|
*/
|
@ApiModelProperty(value = "投票结束时间")
|
private String endtime;
|
/**
|
* 是否置顶
|
*/
|
@ApiModelProperty(value = "是否置顶")
|
private String istopping;
|
/**
|
* 类型
|
*/
|
@ApiModelProperty(value = "类型")
|
private String type;
|
/**
|
* 参与人数
|
*/
|
@ApiModelProperty(value = "参与人数")
|
private Integer npeople;
|
|
private Integer opnum;
|
|
|
}
|