package com.usky.vpp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * vpp_site
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("vpp_site")
public class VppSite implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("site_code")
    private String siteCode;
    @TableField("site_name")
    private String siteName;
    @TableField("customer_id")
    private Long customerId;
    private String province;
    private String city;
    private String district;
    private String address;
    private BigDecimal longitude;
    private BigDecimal latitude;
    @TableField("owner_name")
    private String ownerName;
    @TableField("contact_name")
    private String contactName;
    @TableField("contact_phone")
    private String contactPhone;
    @TableField("response_priority")
    private Integer responsePriority;
    @TableField("un_resource_id")
    private String unResourceId;
    private String remark;
    @TableField("tenant_id")
    private Integer tenantId;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("created_by")
    private Long createdBy;
    @TableField("updated_by")
    private Long updatedBy;
    @TableField("delete_flag")
    private Integer deleteFlag;
    @TableField("deleted_at")
    private LocalDateTime deletedAt;
    private String accountNo;
    private String streetTown;
    @TableField("avg_completion_rate")
    private BigDecimal avgCompletionRate;
    @TableField("run_status")
    private Integer runStatus;
}
