package com.hdkj.lt.bf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户与配变关系表（中台推入）
 *
 * @author lsl
 * @since 2026-07-23
 */
@TableName("fhzg_se_consumer_relation")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FhzgSeConsumerRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 用户编号 */
    private String custNo;

    private String customerName;
    private String mvtransName;
    private String mvtransId;
    private String countyId;
    private String cityId;
    private String feederId;
    private String subsId;

    /** 电压等级(0.4/10/20/6等) */
    private String voltageLevel;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}