Things like Gender and Status in my Domain is ValueObjects?
I have a Person Entity in my domain, this person have Gender and Status property, this properties are ValueObjects?
Gender = { Male, Female }
Status = { Active, Inactive }
I'm using EF, I'm thinking of creating enums 开发者_运维百科for them. I'm doing something wrong?
I'm doing something wrong?
Nope. This is fine, completely standard.
精彩评论