Drinking alcohol is not bad, but be honest about it. Make sure you avoid hiding it, as children get curious to know more about the things that are hidden from them. There are things adults are allowed to do but children and teens are not. This needs to be explained to kids in a polite yet firm way.
Avoid drinking in front of minors altogether because children try and imitate their parents/elders. Also, remember that the most primary need of the child is their parents/caregivers attend them with love and affection, and if alcohol is in anyway disrupting the connection it should be avoided in presence of your child.