package com.xhpc.evcs.cdjgpc.dto;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 产权单位信息
 * @author yuyang
 * @date 2023-09-07 10:57
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "EquipmentOwnerID",
        "FullName",
        "ShortName",
        "OperatorID",
        "Remark"
})
@Data
@Entity(name = "ET_EQUIPMENT_OWNER_INFO")
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
        setterVisibility = JsonAutoDetect.Visibility.NONE, creatorVisibility = JsonAutoDetect.Visibility.NONE)
public class EquipmentOwnerInfo {

    @Id
    @JsonProperty("EquipmentOwnerID")
    private String equipmentOwnerId;
    @JsonProperty("FullName")
    String fullName;
    @JsonProperty("ShortName")
    String shortName;
    @JsonProperty("OperatorID")
    String operatorID;
    @JsonProperty("Remark")
    String remark;
}
