package cn.reghao.bnt.common.docker.model;

import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * TODO 部分
 *
 * @author reghao
 * @date 2020-01-14 23:16:52
 */
@AllArgsConstructor
@Data
public class HostConfig {
    @SerializedName("NetworkMode") private String networkMode;
    @SerializedName("RestartPolicy") private RestartPolicy restartPolicy;
    @SerializedName("Init") private Boolean init;

    public HostConfig() {
        this.networkMode = "host";
        this.restartPolicy = new RestartPolicy();
    }
}
