package io.renren.modules.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 计划总结信息
 * 
 * @author jiaqiao
 * @email jiaqiao@163.com
 * @date 2022-09-29 11:08:53
 */
@Data
@TableName("business_total")
public class BusinessTotalEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 立项id
	 */
	private Integer totalProjectId;
	/**
	 * 选中的人的ID
	 */
	private String selectPersionId;
	/**
	 * 总人数
	 */
	private Integer totalPersonNum;
	/**
	 * 是否一天
	 */
	private Integer isOneDay;
	/**
	 * 施工内容输入
	 */
	private String totalSgSummary;
	/**
	 * 工具/材料
	 */
	private String totalCl;
	/**
	 * 机械
	 */
	private String totalJx;
	/**
	 * 施工时间
	 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date planTime;
	/**
	 * 带队人id
	 */
	private Integer totalDdId;
	/**
	 * 总结时间
	 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date totalDate;
	/**
	 * 是否删除 0-代表正常 1-代表删除
	 */
	private Integer status;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 创建人
	 */
	private String createName;
	/**
	 * 申请修改（0-未申请，1-已申请）
	 */
	private Integer approval;

	/**
	 * 计划id
	 */
	private Integer planId;

	/**
	 * 是否终稿(0未终稿,1已终稿)
	 */
	private String isFinished;

    //立项信息模块
    @TableField(exist = false)
    private String project;//立项名称
    @TableField(exist = false)
    private String projectNewName;//立项新名称
    @TableField(exist = false)
    private Integer projectSgddId;//施工地点id
    @TableField(exist = false)
    private Integer projectFzgzId;//负责工长id
    @TableField(exist = false)
    private String projectYear;
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date projectStart;
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date projectEnd;
    @TableField(exist = false)
    private String projectGclbId;
    @TableField(exist = false)
    private String jsdw;
    @TableField(exist = false)
    private String sgdd;
    @TableField(exist = false)
    private String sgjd;
    @TableField(exist = false)
    private String fzgz;
    //带队人姓名
    @TableField(exist = false)
    private String ddName;
	//带队人折算系数
	@TableField(exist = false)
	private String ddXS;
    //选择的人姓名
    @TableField(exist = false)
    private String selectPer;
    // 选择的人的折算系数
	@TableField(exist = false)
	private String selectPerXS;
    @TableField(exist = false)
    private String oneDay;

	// 工程类别
	@TableField(exist = false)
	private String gclb;
	// 联络员
	@TableField(exist = false)
	private String lly;

	//被选择的人的id String
	@TableField(exist = false)
	private String selectPerIds;
	//施工人的工作天数
	@TableField(exist = false)
	private Float day;

}
