Entity, Object Identity and Object Life Cycle

xiaoxiao2021-03-06  15

Entity means a unique object marked on the business sense, it ValueObject has the following differences "Does an object represent something with continuity and identity-something that is tracked through different states or even across different implementations? Or is it an attribute that describes The State of Something Else? this is the basic distinction betWeen an entity and a value object. "

The only content in the sense of business is not necessarily not necessarily, such as a Customer. Because of the new and old two systems, there should be two records, or because the Customer account expires, repeated requirements Enter a time (but the old record is still in the system, but it is indicated as expired) and Ylin has a conversation on the unique indication of the house, you can see that the two system MOSE and House can use different ways

Evanyuan Says: Ylin, ask a question when you register your listings in the MOSE system?

Ylin Says should be no

Evanyuan Says Two addresses are exactly the same house can be repeatedly entered, is it?

Ylin Says: Yes, in the mortgage business, the company should not be judged because the same house can be transaction multiple times, many mortgage

Evanyuan Says: The house is completely associated with a transaction? Do you not allow you to maintain it separately?

Evanyuan Says: That is to say, there must be a transaction to have a house record?

Ylin Says: Yes

Evanyuan Says: It is reasonable to say that the house should be unique, but it is difficult to achieve this in the MOSE system (all houses in the foreign house have numbered, China is not; and the address of the house is also possible, for example, the road is removed. So the only set of houses Evanyuan Says by mortgage trading number: But in "Housing" is not allowed to enter the same listings, the existing house expires and house expires activation The concept is that the house is renting out, the intermediary does not need to maintain due to the time, representing the house can be collected, the mediation will take the house to list it. (The expired house can't trade, but still in the system)

Ylin Says is, in fact, there should be only multiple transactions related to the house, the object is not repeated, but MOSES is not like this.

Ylin Says: Room Yi Tong is not very familiar, but I don't feel any expiration processing and expiration activation? If you have listed many times, we see that the listing information at different times is

Ylin Says: The house is still the same house, although its information may need to be re-maintained

Ylin Says: What do you think? Evanyuan Says: The house is indeed always the same set, we all understand, the expression is different.

转载请注明原文地址:https://www.9cbs.com/read-46124.html

New Post(0)