mirror of
https://github.com/Qortal/qortal.git
synced 2025-05-06 09:47:51 +00:00
* Moved Asset issue/deissue code from IssueAssetTransaction to Asset business object. * Added more constructors for Asset using IssueAssetTransactionData or assetId. * Moved some constants from transaction transfers to business objects (e.g. IssueAssetTransaction) (They might now make more sense being in Asset) * Changed some transaction isValid() checks to use transaction's timestamp instead of NTP.getTime() * New VotingRepository - as yet unimplemented Really need to rewrite "migrate" and add a ton of unit tests.
21 lines
281 B
Java
21 lines
281 B
Java
package data.voting;
|
|
|
|
public class PollOptionData {
|
|
|
|
// Properties
|
|
private String optionName;
|
|
|
|
// Constructors
|
|
|
|
public PollOptionData(String optionName) {
|
|
this.optionName = optionName;
|
|
}
|
|
|
|
// Getters/setters
|
|
|
|
public String getOptionName() {
|
|
return this.optionName;
|
|
}
|
|
|
|
}
|