InspectionFillChoice.java 1.8 KB
package com.skua.modules.inspection.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * 巡检填报项-选项
 */
@Data
@TableName("inspection_fill_choice")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="inspection_fill_choice对象", description="巡检填报项-选项")
public class InspectionFillChoice implements Serializable{

	/**主键 */
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键 ")
	private String id;
	/**填报项ID*/
	@Excel(name = "填报项ID", width = 15)
    @ApiModelProperty(value = "填报项ID")
	private String inspectionFillId;
	/**选择项名称*/
	@Excel(name = "选择项名称", width = 15)
    @ApiModelProperty(value = "选择项名称")
	private String choiceName;
	/**选项状态(0:异常,1正常)*/
	@Excel(name = "选项状态(0:异常,1正常)", width = 15)
    @ApiModelProperty(value = "选项状态(0:异常,1正常)")
	private String choiceState;
	/**所属厂区*/
	@Excel(name = "所属厂区", width = 15)
	@ApiModelProperty(value = "所属厂区")
	@Dict(dictTable = "sys_depart", dicCode="id", dicText = "depart_name")
	private String departId;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
	private String sort;
}