package com.gxwebsoft.tower.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 派单详情
 *
 * @author 科技小王子
 * @since 2023-07-03 10:56:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerWorksheetDetail对象", description = "派单详情")
public class TowerWorksheetDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "detail_id", type = IdType.AUTO)
    private Integer detailId;

    private Integer worksheetId;

    private Integer projectId;

    @ApiModelProperty(value = "工作类型(0安装1加高2拆卸)")
    private Integer workType;

    @ApiModelProperty(value = "设备ID")
    private Integer equipmentId;

    @ApiModelProperty(value = "安装臂长(m)")
    private BigDecimal setupLength;

    @ApiModelProperty(value = "年份要求")
    private Integer yearRequest;

    @ApiModelProperty(value = "初始安装高度")
    private BigDecimal setupHeight;

    @ApiModelProperty(value = "最终安装高度")
    private BigDecimal finalSetupHeight;

    @ApiModelProperty(value = "是否要油漆")
    private Integer needPaint;

    @ApiModelProperty(value = "附着方式(0预埋1钻孔)")
    private Integer clingMethod;

    @ApiModelProperty(value = "道路通畅")
    private Integer confirmRoad;

    @ApiModelProperty(value = "电箱到位")
    private Integer confirmElectric;

    @ApiModelProperty(value = "基础预埋时间满足")
    private Integer confirmHasTime;

    @ApiModelProperty(value = "安装资料完善")
    private Integer confirmProfile;

    @ApiModelProperty(value = "加高第几道附着")
    private Integer clingNum;

    @ApiModelProperty(value = "附着数量")
    private Integer clingCountNum;

    @ApiModelProperty(value = "标准节数量")
    private Integer standardSectionNum;

    @ApiModelProperty(value = "标节是否需要发货")
    private Integer sectionNeedExpress;

    @ApiModelProperty(value = "标节数量")
    private Integer sectionNum;

    @ApiModelProperty(value = "标节是否需要油漆")
    private Integer sectionNeedPaint;

    @ApiModelProperty(value = "拆卸高度")
    private BigDecimal removeHeight;

    @ApiModelProperty(value = "派单说明")
    private String intro;

    @ApiModelProperty(value = "系统内的作业人员")
    private String sysWorkerList;

    @ApiModelProperty(value = "外调的作业人员")
    private String outComeWorkerList;

    @ApiModelProperty(value = "人员类型(0自有1外派)")
    private Integer workerType;

    @ApiModelProperty(value = "班组负责人")
    private Integer classManager;

    @ApiModelProperty(value = "现场负责人")
    private String localeManager;

    @ApiModelProperty(value = "司机")
    private String driver;

    @ApiModelProperty(value = "车牌")
    private String carPlate;

    private String photos;

    private String remark;

    @ApiModelProperty(value = "拉杆组合")
    private String rieRodGroup;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "设备名称")
    @TableField(exist = false)
    private String equipmentName;

    @ApiModelProperty(value = "型号")
    @TableField(exist = false)
    private String model;

    @ApiModelProperty(value = "出厂编号")
    @TableField(exist = false)
    private String factoryNo;

    @ApiModelProperty(value = "自编号")
    @TableField(exist = false)
    private String equipmentNo;

    @ApiModelProperty(value = "设备")
    @TableField(exist = false)
    private TowerEquipment equipment;

    @ApiModelProperty(value = "累计加高高度")
    @TableField(exist = false)
    private BigDecimal totalAddHeight;
}
