package gov.va.med.esr.common.model.lookup;

import gov.va.med.fw.model.lookup.AbstractCode;
import gov.va.med.fw.model.lookup.AbstractNamedLookup;

public class CorrespondenceType extends AbstractNamedLookup {


	/**
	 *
	 */
	private static final long serialVersionUID = -2004822655998799047L;

	public static final Code  CMS_MAILING = new Code("CM");
    public static final Code  EMAIL = new Code("CE");
    public static final Code  PHONE = new Code("CP");
    public static final Code  OTHER = new Code("CO");

	public static class Code extends AbstractCode
	{


	private static final long serialVersionUID = 5463963733006936385L;

	private Code(String code) {
			super(code);
		}

		public static Code getByCode(String code) {
			return (Code) getCode(Code.class, code);
		}
	}


	 /**
	  * Default constructor.
	  */
	public CorrespondenceType() {
		super();
	}
}


