package com.zhgd.xmgl.modules.basicdata.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 org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 工种
 * @author： pengj
 * @date： 2023-03-13
 * @version： V1.0
 */
@Data
@TableName("worker_type")
@ApiModel(value = "WorkerType实体类", description = "WorkerType")
public class WorkerType implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 工种类型id(主键id)
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "工种类型id(主键id)")
    private Long id;
    /**
     * 工种类型名称
     */
    @Excel(name = "工种类型名称", width = 15)
    @ApiModelProperty(value = "工种类型名称")
    private String typeName;
    /**
     * 工程sn
     */
    @Excel(name = "工程sn", width = 15)
    @ApiModelProperty(value = "工程sn")
    private String engineeringSn;
    /**
     * 项目sn
     */
    @Excel(name = "项目sn", width = 15)
    @ApiModelProperty(value = "项目sn")
    private String projectSn;
}
