package com.bocloud.cmp.model;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class NatGatewayModel {
    private String uuid;
    private String name;
    private String remark;
    // 公网NAT网关的规格。
    // “1”:小型,SNAT最大连接数10000“2”:中型,SNAT最大连接数50000
    // “3”:大型,SNAT最大连接数200000“4”:超大型,SNAT最大连接数1000000
    private String spec;
    private String status;
    private Boolean adminStateUp; // 解冻/冻结状态 "true":解冻 "false":冻结
    private Date gmtCreate;
    private String vpcUuid;
    private String subnetUuid; // 公网NAT网关下行口(DVR的下一跳)所属的network id。子网id
    private String networkInterfaceUuid;
    private String allocationUuid;
    private String regionId;

    private String resourceGroupUuid;
    private String type;
    private String forwardTableIds;
    private String snatTableIds;
    private String natType;
    private String eniInstanceId;
    private String privateIpAddress;

    private PortModel portModel;

    private NetworkInterfaceModel networkInterfaceModel;// 弹性网卡

    private List<NatGatewayDnatRuleModel> dnatRules;
    private List<NatGatewaySnatRuleModel> snatRules;

    public static enum NatType {
        Normal, Enhanced
    }

}