/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.elotech.websaude.integracao.cnes.backend.model;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author elotech
 */
@XmlRootElement(name="DADOS_REGRA")
public class Regra implements java.io.Serializable {
    
    @XmlAttribute(name="COD_REGRA")
    public String codRegra;
    @XmlAttribute(name="NOM_REGRA")
    public String nomRegra;
    @XmlAttribute(name="CMPT_I")
    public String cmptI;
    @XmlAttribute(name="CMPT_F")
    public String cmptF;
    @XmlAttribute(name="NU_PORTARIA")
    public String nuPortaria;
    @XmlAttribute(name="DT_LANCAMENTO")
    public String dtLancamento;
    @XmlAttribute(name="USUARIO")
    public String usuario;

    @Override
    public String toString() {
        return "\n\tRegra{\n\t\t" + "codRegra=" + codRegra + ", nomRegra=" + nomRegra + ", cmptI=" + cmptI + ", cmptF=" + cmptF + ", nuPortaria=" + nuPortaria + ", dtLancamento=" + dtLancamento + ", usuario=" + usuario + "\n\t}";
    }
    
    
    
    
}
