package com.ltgk.port.domain.vo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: wan kun
 * @Description: TODO
 * @Date: 2025/1/19 18:16
 * @Version: 1.0
 */
@Data
public class WorkBaseVo {
    @ApiModelProperty(value = "建设工程基本信息主键")
    private String id;

    @ApiModelProperty(value = "项目编号")
    private String projectCode;

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

    @ApiModelProperty(value = "具体位置")
    private String location;

    @ApiModelProperty(value = "建设规模")
    private String scale;

    @ApiModelProperty(value = "供应商")
    private String suppliers;

    @ApiModelProperty(value = "建设单位")
    private String constructionOrg;

    @ApiModelProperty(value = "承建单位")
    private String contractorOrg;

    @ApiModelProperty(value = "项目负责人")
    private String principal;

    @ApiModelProperty(value = "项目负责人联系方式")
    private String principalPhone;

    @ApiModelProperty(value = "中央资金")
    private BigDecimal centralFunds;

    @ApiModelProperty(value = "省资金")
    private BigDecimal provincialFunds;

    @ApiModelProperty(value = "市资金")
    private BigDecimal cityFunds;

    @ApiModelProperty(value = "区资金")
    private BigDecimal districtFunds;

    @ApiModelProperty(value = "社会资金")
    private BigDecimal socialFunds;

    @ApiModelProperty(value = "总资金")
    private BigDecimal funds;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "计划开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String planBeginTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "计划结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String planEndTime;

    @ApiModelProperty(value = "工期")
    private String duration;

    @ApiModelProperty(value = "行政区域编码")
    private String areaCode;

    @ApiModelProperty(value = "行政区域名称")
    private String areaName;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createAt;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private Date updateAt;

    @TableLogic(delval = "1", value = "0")
    @ApiModelProperty(value = "删除标志: 0-未删除, 1-已删除")
    private Integer delFlag;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "当前进度")
    private Integer schedule;

    @ApiModelProperty(value = "已使用资金额度")
    private BigDecimal spentFunds;

    @ApiModelProperty(value = "当前阶段id")
    private Integer stageName;
    @ApiModelProperty(value = "当前阶段")
    private String stage;

    @ApiModelProperty(value = "是否超预算：0否1是")
    private String isOver;
}
