Rev 106 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 106 | Rev 195 | ||
|---|---|---|---|
| Line 20... | Line 20... | ||
| 20 | import javax.validation.constraints.Size; |
20 | import javax.validation.constraints.Size; |
| 21 | 21 | ||
| 22 | import org.hibernate.annotations.ForeignKey; |
22 | import org.hibernate.annotations.ForeignKey; |
| 23 | import org.hibernate.validator.constraints.NotEmpty; |
23 | import org.hibernate.validator.constraints.NotEmpty; |
| 24 | 24 | ||
| - | 25 | import br.com.ec.core.interfaces.Alterar; |
|
| - | 26 | import br.com.ec.core.interfaces.Cadastrar; |
|
| - | 27 | import br.com.ec.core.util.StringUtil; |
|
| - | 28 | import br.com.ec.core.util.VerificadorUtil; |
|
| 25 | import br.com.ec.domain.model.tipos.TipoCategoria; |
29 | import br.com.ec.domain.model.tipos.TipoCategoria; |
| 26 | import br.edu.cesmac.core.interfaces.Alterar; |
- | |
| 27 | import br.edu.cesmac.core.interfaces.Cadastrar; |
- | |
| 28 | import br.edu.cesmac.core.util.StringUtil; |
- | |
| 29 | import br.edu.cesmac.core.util.VerificadorUtil; |
- | |
| 30 | 30 | ||
| 31 | @Entity |
31 | @Entity |
| 32 | @Table(name="sec_categoria", schema="sc_sec") |
32 | @Table(name="sec_categoria", schema="sc_sec") |
| 33 | public class Categoria implements Serializable { |
33 | public class Categoria implements Serializable { |
| 34 | 34 | ||