package com.bonus.material.project.domain;

import com.bonus.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;

/**
 * @author 30791
 * @version 1.0
 * Create by 2025/11/13 13:32
 */

@Data
public class Project {

    //用于excel导出的序号一列,不需要业务逻辑处理
    @Excel(name = "序号", isSequence = true, type = Excel.Type.EXPORT , sort = 0)
    int sequence;

    //工程id  主键
    private Integer id;

    //工程编号
    @Excel(name = "项目编号", width = 25, sort = 2)
    private String pro_code;

    //工程名称
    @Excel(name = "项目名称", width = 25, sort = 1)
    private String pro_name;

    //电压等级
    @Excel(name = "电压等级", width = 25, sort = 4)
    private String voltage;

    //规模
    @Excel(name = "规模", width = 25, sort = 5)
    private String scale;

    //工程类型

    private String project_type;

    //工程类型名称
    @Excel(name = "项目类型", width = 25, sort = 3)
    private String dict_label;

    //建管单位名称
    private String org_name;

    //机械化率
    @Excel(name = "机械化率", width = 25, sort = 9)
    private String mechanize_rate;

    //开工时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date start_time;

    //投产时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date put_time;

    //省
    @Excel(name = "所在省", width = 25, sort = 6)
    private String province;

    //市
    @Excel(name = "所在市", width = 25, sort = 7)
    private String city;

    //县
    @Excel(name = "所在区/县", width = 25, sort = 8)
    private String county;

    //备注
    private String remark;
}
