php - What name would be given to a dumb, data class? -


i'm writing pretty simple email mime parser application i'm developing, , thinking it'd idea create dumb data class make 'an email' object.

this , good, , might terrible question so, alas, asking anyway. call said dumb data class?

as i'm writing project in symfony 2.2 thought using word 'entity'; broad term is, wouldn't make sense , cause confusion because of entities being used in doctrine. so, what's term that's used kind of thing? store data , potentially use methods on it, entity, format or retrieve other bits of information.

if use class pass data around, that's dto (data transfer object java) in opinion.so emaildto work
if add methods i'd use email name of class, describe is.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -