package org.stm.survey.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.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 调查用户信息
 * @Author: jeecg-boot
 * @Date:   2023-11-14
 * @Version: V1.0
 */
@Data
@TableName("survey_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="survey_user对象", description="调查用户信息")
public class SurveyUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**公司名称*/
	@Excel(name = "公司名称", width = 15)
    @ApiModelProperty(value = "公司名称")
    private String corp;
	/**填报用户*/
	@Excel(name = "填报用户", width = 15)
    @ApiModelProperty(value = "填报用户")
    @Dict(dictTable = "zrch_stm_db.sys_user", dicCode = "id", dicText = "realname")
    private String filluser;
	/**创建时间*/
	@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 createdTime;
	/**填报电话*/
	@Excel(name = "填报电话", width = 15)
    @ApiModelProperty(value = "填报电话")
    private String corpTel;
	/**调查年度*/
	@Excel(name = "调查年度", width = 15)
    @ApiModelProperty(value = "调查年度")
    private String validYear;

    @Excel(name = "创建用户", width = 15)
    @ApiModelProperty(value = "创建用户")
    private String createdUser;
}
