We try to design the lattice with 2 super periods and 4-DBA structure in order to provide more drifts for the future development of the TTX source. Due to the space limitation in the lab, the 4-DBA lattice is suitable. In the paper, we present the lattice design with a 4-DBA structure mainly for the pulse mode of the compact laser-electron storage ring (LESR). Element parameters of the lattice are optimized with the help of the professional software and beam dynamics such as intra-beam scattering (IBS) and Compton scattering (CS) are calculated. Besides, the fringe field effect is analyzed with the numerical method.