The value of one field of one type is the value of another enumerated class.

as shown in the figure, the values of my tradeType attribute are all values in the enumerated TradeTypeEnum. I remember that I could add comments ({} or something) in the box to tell others where the value of this class came from. I forgot. Who knows?

Mar.18,2021

you mean {@ link xxx} ?


this feels a little different from OOP. Everything is object-oriented, and enum is also an object.

public class FinaceTradeOrderDto {
    private String mobile;
    
    private String vipCard;
    
    /**
     * {@desc enum type}
     * {@link com.example.TradeTypeEnum}
     */
    private TradeTypeEnum tradeType;
    
    private String changeMoney;
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38284-2c0d1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38284-2c0d1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?