     public var shared : Bool
     public var applicable : Bool
     public var state : MSEntity<MSState>?
-    public var attributes : [MSEntity<MSAttribute>]?
     public var originalApplicable: Bool
     public var stateContractId: String?
     

        self.shared = shared
        self.applicable = applicable
        self.state = state
        self.attributes = attributes
        self.originalApplicable = originalApplicable
        self.agentAccount = agentAccount
        self.organizationAccount = organizationAccount


import Foundation

public class MSDocument: MSAttributedEntity, MSBaseDocumentType, MSGeneralDocument, MSCustomerOrderType, MSDemandType,
                        MSInvoiceOutType, MSInvoiceInType, MSMoneyDocumentType, MSCashInType, MSCashOutType,
                        MSPaymentInType, MSPaymentOutType, MSProcurementType, MSSupplyType, MSRetailShiftType {
    // MSBaseDocumentType
