package com.cmvr.ti.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cmvr.common.annotation.Excel;
import com.cmvr.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("触控交互--项目表")
public class TiProject extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("项目ID")
    @TableId(type = IdType.ASSIGN_UUID)
    private String projectId;

    @Excel(name = "项目名称")
    @ApiModelProperty("项目名称")
    private String projectName;

    @Excel(name = "测试人员")
    @ApiModelProperty("测试人员")
    private String tester;

    @Excel(name = "计划测试开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("计划测试开始时间")
    private Date planStart;

    @Excel(name = "计划测试结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("计划测试结束时间")
    private Date planEnd;

    @Excel(name = "项目描述")
    @ApiModelProperty("项目描述")
    private String description;

    @Excel(name = "样品名称")
    @ApiModelProperty("样品名称")
    private String sampleName;

    @Excel(name = "商标")
    @ApiModelProperty("商标")
    private String trademark;

    @Excel(name = "型号规格")
    @ApiModelProperty("型号规格")
    private String modelSpec;

    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private Integer quantity;

    @Excel(name = "委托单位")
    @ApiModelProperty("委托单位")
    private String entrustUnit;

    @Excel(name = "生产单位")
    @ApiModelProperty("生产单位")
    private String productionUnit;

    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("生产日期")
    private Date productionDate;

    @Excel(name = "送样日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("送样日期")
    private Date sampleDate;

    @ApiModelProperty(value = "状态", notes = "状态（0未执行 1执行中 2执行完成（评估））")
    private String status;

    @ApiModelProperty(value = "评价id")
    private Long indicatorId;

    @ApiModelProperty(value = "车机版本id")
    private Long vehicleConfigId;

    @ApiModelProperty(value = "测试功能id列表")
    private String testFuncIds;
}
