An SEIR epidemic model with constant latency time and infectious period